#CF42A0#CF42A0
#CF42A0 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.8% C 0.201 H 343.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CF42A0 |
|---|---|
| RGB | rgb(207, 66, 160) |
| HSL | hsl(320, 59%, 54%) |
| HSV | hsv(320, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 22.7%, 18.8%) |
| CIE-LAB | lab(51.50, 64.08, -20.97) |
| CIE-LCH | lch(51.50, 67.42, 341.88°) |
| OKLab | oklab(60.84% 0.1929 -0.0559) |
| OKLCH | oklch(60.84% 0.201 343.8) |
| XYZ | xyz(34.0267, 19.7033, 35.2620) |
| Luminance | 0.1970 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.33
Purpley Pink
#C83CB9
ΔE00 5.78
Pinky Purple
#C94CBE
ΔE00 6.10
Bright Pink
#FE01B1
ΔE00 7.27
Mediumvioletred
#C71585
ΔE00 7.39
Purpleish Pink
#DF4EC8
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF42A0 #42CF71
analogous
#B742CF #CF42A0 #CF4259
triadic
#CF42A0 #A0CF42 #42A0CF
tetradic
#CF42A0 #CFB742 #42CF71 #4259CF
square
#CF42A0 #CFB742 #42CF71 #4259CF
split-complementary
#CF42A0 #59CF42 #42CFB7
monochromatic
#781F5A #A92B7F #CF42A0 #DB73B9 #E8A4D1
Accessibility & contrast
On white
4.25
#CF42A0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#CF42A0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF42A0
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF42A0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF42A0 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506CA3
Deuteranopia (green-blind)
#7A839D
Tritanopia (blue-blind)
#DC426B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cf42a0; /* rgb */ color: rgb(207, 66, 160); /* oklch */ color: oklch(60.8% 0.201 343.8);
Tailwind
colors: {
custom: {
50: '#e281bc',
500: '#cf42a0',
950: '#000000',
},
}SCSS
$custom: #cf42a0; $custom-light: #e281bc; $custom-dark: #000000;
JSON
{
"hex": "#cf42a0",
"rgb": {
"r": 207,
"g": 66,
"b": 160
},
"hsl": {
"h": 320,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.60839,
"c": 0.20083,
"h": 343.8
},
"luminance": 0.197
}Semantic roles & 50–950 ramp
primary
#CF42A0
secondary
#98D5AC
accent
#E37A45
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81