#CD51B4
Closest named color: Pinky Purple (#C94CBE). oklch(63% 0.193 336.3), rgb(205, 81, 180).
Aa
Black text reads best on this color (5.43:1).
About this color
#CD51B4 is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.193 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.022 away. Black text reads best on it, at 5.43:1.
| Hue family | Pinks |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.193) |
| Temperature | warm |
| Nearest name | Pinky Purple (#C94CBE) |
| Black text | 5.43:1 |
| White text | 3.86:1 |
Values
| HEX | #CD51B4 |
| RGB | rgb(205, 81, 180) |
| HSL | hsl(312, 55%, 56%) |
| OKLCH | oklch(63% 0.193 336.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CD51B4 | 3.86:1 | AA large text | Lc -70.9 | Content text, not long reading |
| Black text on #CD51B4 | 5.43:1 | AA | Lc 38.7 | Non-text elements, placeholder text |
| #CD51B4 text on white | 3.86:1 | AA large text | Lc 65.4 | Content text, not long reading |
| #CD51B4 text on black | 5.43:1 | AA | Lc -36.3 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.
-
Step 50
50
#FBF2F9
oklch(97% 0.013 333)
-
Step 100
100
#F6E3F1
oklch(93.5% 0.028 334.9)
-
Step 200
200
#F0CDE6
oklch(88.5% 0.051 336.3)
-
Step 300
300
#E8AAD8
oklch(81% 0.094 336.1)
-
Step 400
400
#DA79C4
oklch(70.7% 0.151 336.1)
-
Step 500
500 (this color)
#CD51B4
oklch(63% 0.193 336.3)
-
Step 600
600
#B82EA0
oklch(55.5% 0.209 336.2)
-
Step 700
700
#9E1E89
oklch(49% 0.195 336.1)
-
Step 800
800
#811D6F
oklch(42.7% 0.161 336.5)
-
Step 900
900
#68205A
oklch(37.8% 0.125 336.4)
-
Step 950
950
#3D1435
oklch(27% 0.08 335.8)
#CD51B4 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #5376B7 | 0.203 |
| Deuteranopia (no green cones) | #7988B1 | 0.178 |
| Tritanopia (no blue cones) | #D7577B | 0.094 |
| Achromatopsia (no color) | #828282 | 0.194 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CD51B4
#CD51B4
oklch(63% 0.193 336.3)
- #00A361
#00A361
oklch(62.9% 0.152 156.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CD51B4, closest first.
No curated palette has a color within ΔE 0.04 of #CD51B4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pinky Purple #C94CBE ΔE 0.022
- Purpley Pink #C83CB9 ΔE 0.040
- Pale Magenta #D767AD ΔE 0.055
- Medium Orchid #BA55D3 ΔE 0.060
- Orchid #DA70D6 ΔE 0.077
- Soft Purple #A66FB5 ΔE 0.087
- Purple Pink #D725DE ΔE 0.091
- Amethyst #9B5FC0 ΔE 0.093
Use #CD51B4 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.