#CF42A9#CF42A9
#CF42A9 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.206 H 340.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CF42A9 |
|---|---|
| RGB | rgb(207, 66, 169) |
| HSL | hsl(316, 59%, 54%) |
| HSV | hsv(316, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 18.4%, 18.8%) |
| CIE-LAB | lab(51.87, 65.30, -25.69) |
| CIE-LCH | lch(51.87, 70.17, 338.52°) |
| OKLab | oklab(61.23% 0.1945 -0.0692) |
| OKLCH | oklch(61.23% 0.206 340.4) |
| XYZ | xyz(34.8427, 20.0297, 39.5595) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.14
Pinky Purple
#C94CBE
ΔE00 4.38
Purplish Pink
#CE5DAE
ΔE00 5.03
Purpleish Pink
#DF4EC8
ΔE00 6.13
Hot Magenta
#F504C9
ΔE00 6.82
Bright Pink
#FE01B1
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF42A9 #42CF68
analogous
#AE42CF #CF42A9 #CF4262
triadic
#CF42A9 #A9CF42 #42A9CF
tetradic
#CF42A9 #CFAE42 #42CF68 #4262CF
square
#CF42A9 #CFAE42 #42CF68 #4262CF
split-complementary
#CF42A9 #62CF42 #42CFAE
monochromatic
#781F60 #A92B87 #CF42A9 #DB73BF #E8A4D5
Accessibility & contrast
On white
4.20
#CF42A9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#CF42A9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF42A9
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF42A9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF42A9 | 1.00 | 4.20 | 5.01 | 5.01 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6DAC
Deuteranopia (green-blind)
#7784A6
Tritanopia (blue-blind)
#DB4570
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cf42a9; /* rgb */ color: rgb(207, 66, 169); /* oklch */ color: oklch(61.2% 0.206 340.4);
Tailwind
colors: {
custom: {
50: '#e181c2',
500: '#cf42a9',
950: '#000000',
},
}SCSS
$custom: #cf42a9; $custom-light: #e181c2; $custom-dark: #000000;
JSON
{
"hex": "#cf42a9",
"rgb": {
"r": 207,
"g": 66,
"b": 169
},
"hsl": {
"h": 316.17,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.61231,
"c": 0.20648,
"h": 340.4
},
"luminance": 0.20026
}Semantic roles & 50–950 ramp
primary
#CF42A9
secondary
#98D5A8
accent
#E37045
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81