#CF42B1
Closest named color: Purpley Pink (#C83CB9). oklch(61.6% 0.212 337.5), rgb(207, 66, 177).
Aa
Black text reads best on this color (5.06:1).
About this color
#CF42B1 is a medium-dark, vivid pink. In OKLCH its lightness is 62%, its chroma 0.212 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.024 away. Black text reads best on it, at 5.06:1.
| Hue family | Pinks |
| Lightness | medium-dark (62%) |
| Chroma | vivid (0.212) |
| Temperature | warm |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 5.06:1 |
| White text | 4.14:1 |
Values
| HEX | #CF42B1 |
| RGB | rgb(207, 66, 177) |
| HSL | hsl(313, 59%, 54%) |
| OKLCH | oklch(61.6% 0.212 337.5) |
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 #CF42B1 | 4.14:1 | AA large text | Lc -73.0 | Content text, not long reading |
| Black text on #CF42B1 | 5.06:1 | AA | Lc 36.6 | Non-text elements, placeholder text |
| #CF42B1 text on white | 4.14:1 | AA large text | Lc 67.5 | Content text, not long reading |
| #CF42B1 text on black | 5.06:1 | AA | Lc -34.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 500.
-
Step 50
50
#FCF2F9
oklch(97.1% 0.014 336.1)
-
Step 100
100
#F8E3F1
oklch(93.7% 0.029 337.9)
-
Step 200
200
#F3CBE7
oklch(88.5% 0.058 337.1)
-
Step 300
300
#ECA7D8
oklch(80.9% 0.102 337.6)
-
Step 400
400
#E073C5
oklch(70.6% 0.167 337.4)
-
Step 500
500 (this color)
#CF42B1
oklch(61.6% 0.212 337.5)
-
Step 600
600
#BF1BA2
oklch(55.6% 0.23 337.3)
-
Step 700
700
#A5038A
oklch(49.1% 0.214 337.7)
-
Step 800
800
#860F70
oklch(42.7% 0.177 337.8)
-
Step 900
900
#6C195B
oklch(37.8% 0.138 337.6)
-
Step 950
950
#401135
oklch(27.1% 0.087 338.2)
#CF42B1 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) | #476FB4 | 0.229 |
| Deuteranopia (no green cones) | #7484AE | 0.198 |
| Tritanopia (no blue cones) | #DA4974 | 0.102 |
| Achromatopsia (no color) | #7D7D7D | 0.213 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CF42B1
#CF42B1
oklch(61.6% 0.212 337.5)
- #009E61
#009E61
oklch(61.6% 0.145 157.5)
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 #CF42B1, closest first.
No curated palette has a color within ΔE 0.04 of #CF42B1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.024
- Pinky Purple #C94CBE ΔE 0.025
- Medium Orchid #BA55D3 ΔE 0.067
- Pale Magenta #D767AD ΔE 0.076
- Medium Violet Red #C71585 ΔE 0.078
- Purple Pink #D725DE ΔE 0.079
- Hot Magenta #F504C9 ΔE 0.085
- Bright Pink #FE01B1 ΔE 0.090
Use #CF42B1 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.