#CF42AB
Closest named color: Purpley Pink (#C83CB9). oklch(61.3% 0.208 339.7), rgb(207, 66, 171).
Aa
Black text reads best on this color (5.02:1).
About this color
#CF42AB is a medium-dark, vivid pink. In OKLCH its lightness is 61%, its chroma 0.208 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 5.02:1.
| Hue family | Pinks |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.208) |
| Temperature | warm |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 5.02:1 |
| White text | 4.18:1 |
Values
| HEX | #CF42AB |
| RGB | rgb(207, 66, 171) |
| HSL | hsl(315, 59%, 54%) |
| OKLCH | oklch(61.3% 0.208 339.7) |
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 #CF42AB | 4.18:1 | AA large text | Lc -73.3 | Content text, not long reading |
| Black text on #CF42AB | 5.02:1 | AA | Lc 36.3 | Non-text elements, placeholder text |
| #CF42AB text on white | 4.18:1 | AA large text | Lc 67.8 | Content text, not long reading |
| #CF42AB text on black | 5.02:1 | AA | Lc -33.9 | 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
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F8E3F0
oklch(93.6% 0.028 340)
-
Step 200
200
#F4CBE5
oklch(88.5% 0.057 340)
-
Step 300
300
#EDA7D6
oklch(80.9% 0.102 339.4)
-
Step 400
400
#E174C1
oklch(70.7% 0.163 339.6)
-
Step 500
500 (this color)
#CF42AB
oklch(61.3% 0.208 339.7)
-
Step 600
600
#C01D9C
oklch(55.5% 0.226 339.6)
-
Step 700
700
#A50785
oklch(49% 0.21 339.7)
-
Step 800
800
#86106C
oklch(42.6% 0.174 339.7)
-
Step 900
900
#6C1958
oklch(37.6% 0.136 339.4)
-
Step 950
950
#401134
oklch(27% 0.087 339.3)
#CF42AB 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) | #4A6EAE | 0.226 |
| Deuteranopia (no green cones) | #7784A8 | 0.196 |
| Tritanopia (no blue cones) | #DB4671 | 0.096 |
| Achromatopsia (no color) | #7C7C7C | 0.210 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CF42AB
#CF42AB
oklch(61.3% 0.208 339.7)
- #009D66
#009D66
oklch(61.4% 0.14 159.7)
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 #CF42AB, 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.032
- Medium Violet Red #C71585 ΔE 0.072
- Pale Magenta #D767AD ΔE 0.073
- Medium Orchid #BA55D3 ΔE 0.074
- Purple Pink #D725DE ΔE 0.088
- Hot Magenta #F504C9 ΔE 0.090
- Bright Pink #FE01B1 ΔE 0.091
Use #CF42AB 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.