#CF42A4#CF42A4
#CF42A4 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.0% C 0.203 H 342.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CF42A4 |
|---|---|
| RGB | rgb(207, 66, 164) |
| HSL | hsl(318, 59%, 54%) |
| HSV | hsv(318, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 20.8%, 18.8%) |
| CIE-LAB | lab(51.66, 64.61, -23.08) |
| CIE-LCH | lch(51.66, 68.61, 340.35°) |
| OKLab | oklab(61.01% 0.1937 -0.0618) |
| OKLCH | oklch(61.01% 0.203 342.3) |
| XYZ | xyz(34.3823, 19.8455, 37.1346) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.03
Purplish Pink
#CE5DAE
ΔE00 5.12
Pinky Purple
#C94CBE
ΔE00 5.32
Purpleish Pink
#DF4EC8
ΔE00 6.85
Bright Pink
#FE01B1
ΔE00 7.21
Hot Magenta
#F504C9
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF42A4 #42CF6D
analogous
#B342CF #CF42A4 #CF425D
triadic
#CF42A4 #A4CF42 #42A4CF
tetradic
#CF42A4 #CFB342 #42CF6D #425DCF
square
#CF42A4 #CFB342 #42CF6D #425DCF
split-complementary
#CF42A4 #5DCF42 #42CFB3
monochromatic
#781F5D #A92B82 #CF42A4 #DB73BB #E8A4D3
Accessibility & contrast
On white
4.23
#CF42A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CF42A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF42A4
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF42A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF42A4 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E6CA7
Deuteranopia (green-blind)
#7984A1
Tritanopia (blue-blind)
#DC436D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cf42a4; /* rgb */ color: rgb(207, 66, 164); /* oklch */ color: oklch(61.0% 0.203 342.3);
Tailwind
colors: {
custom: {
50: '#e281bf',
500: '#cf42a4',
950: '#000000',
},
}SCSS
$custom: #cf42a4; $custom-light: #e281bf; $custom-dark: #000000;
JSON
{
"hex": "#cf42a4",
"rgb": {
"r": 207,
"g": 66,
"b": 164
},
"hsl": {
"h": 318.298,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.61011,
"c": 0.20329,
"h": 342.3
},
"luminance": 0.19842
}Semantic roles & 50–950 ramp
primary
#CF42A4
secondary
#98D5AB
accent
#E37545
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81