#CD31A6
Closest named color: Purpley Pink (#C83CB9). oklch(59.3% 0.222 340.3), rgb(205, 49, 166).
Aa
Black text reads best on this color (4.58:1).
About this color
#CD31A6 is a medium-dark, vivid pink. In OKLCH its lightness is 59%, its chroma 0.222 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.031 away. Black text reads best on it, at 4.58:1.
| Hue family | Pinks |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.222) |
| Temperature | warm |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.58:1 |
| White text | 4.57:1 |
Values
| HEX | #CD31A6 |
| RGB | rgb(205, 49, 166) |
| HSL | hsl(315, 61%, 50%) |
| OKLCH | oklch(59.3% 0.222 340.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 #CD31A6 | 4.57:1 | AA | Lc -75.9 | Fine for body text |
| Black text on #CD31A6 | 4.58:1 | AA | Lc 33.7 | Non-text elements, placeholder text |
| #CD31A6 text on white | 4.57:1 | AA | Lc 70.4 | Content text, not long reading |
| #CD31A6 text on black | 4.58:1 | AA | Lc -31.2 | 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 600.
-
Step 50
50
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F8E3F0
oklch(93.6% 0.028 340)
-
Step 200
200
#F3CBE5
oklch(88.4% 0.056 339.3)
-
Step 300
300
#EDA7D5
oklch(80.9% 0.101 340.1)
-
Step 400
400
#E175BF
oklch(70.8% 0.16 340.5)
-
Step 500
500
#D54AAF
oklch(63.2% 0.204 340.3)
-
Step 600
600 (this color)
#CD31A6
oklch(59.3% 0.222 340.3)
-
Step 700
700
#A50C84
oklch(49.1% 0.207 340.1)
-
Step 800
800
#86136B
oklch(42.7% 0.171 340.3)
-
Step 900
900
#6C1A57
oklch(37.6% 0.134 340.1)
-
Step 950
950
#401233
oklch(27.1% 0.084 340.5)
#CD31A6 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) | #3D66A9 | 0.247 |
| Deuteranopia (no green cones) | #717EA2 | 0.211 |
| Tritanopia (no blue cones) | #D93669 | 0.101 |
| Achromatopsia (no color) | #757575 | 0.224 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CD31A6
#CD31A6
oklch(59.3% 0.222 340.3)
- #009662
#009662
oklch(59.4% 0.134 160.1)
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 #CD31A6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.031
- Pinky Purple #C94CBE ΔE 0.048
- Medium Violet Red #C71585 ΔE 0.054
- Medium Orchid #BA55D3 ΔE 0.086
- Purple Pink #D725DE ΔE 0.088
- Hot Magenta #F504C9 ΔE 0.090
- Bright Pink #FE01B1 ΔE 0.093
- Shocking Pink #FE02A2 ΔE 0.093
Use #CD31A6 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.