#CF4278#CF4278
#CF4278 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.182 H 0.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4278 |
|---|---|
| RGB | rgb(207, 66, 120) |
| HSL | hsl(337, 59%, 54%) |
| HSV | hsv(337, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 42%, 18.8%) |
| CIE-LAB | lab(50.12, 59.43, 0.88) |
| CIE-LCH | lch(50.12, 59.44, 0.85°) |
| OKLab | oklab(59.38% 0.182 0.003) |
| OKLCH | oklch(59.38% 0.182 0.9) |
| XYZ | xyz(31.0727, 18.5217, 19.7044) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.66
Dark Pink
#CB416B
ΔE00 3.21
Deep Rose
#C74767
ΔE00 4.81
Dark Hot Pink
#D90166
ΔE00 5.65
Cerise
#DE0C62
ΔE00 6.10
Cherry
#DE3163
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4278 #42CF99
analogous
#CF42BF #CF4278 #CF5242
triadic
#CF4278 #78CF42 #4278CF
tetradic
#CF4278 #BFCF42 #42CF99 #5242CF
square
#CF4278 #BFCF42 #42CF99 #5242CF
split-complementary
#CF4278 #42CF52 #42BFCF
monochromatic
#781F41 #A92B5B #CF4278 #DB739B #E8A4BE
Accessibility & contrast
On white
4.46
#CF4278 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#CF4278 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4278
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4278 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4278 | 1.00 | 4.46 | 4.70 | 4.70 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6679
Deuteranopia (green-blind)
#858175
Tritanopia (blue-blind)
#E03058
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cf4278; /* rgb */ color: rgb(207, 66, 120); /* oklch */ color: oklch(59.4% 0.182 0.9);
Tailwind
colors: {
custom: {
50: '#e3809e',
500: '#cf4278',
950: '#000000',
},
}SCSS
$custom: #cf4278; $custom-light: #e3809e; $custom-dark: #000000;
JSON
{
"hex": "#cf4278",
"rgb": {
"r": 207,
"g": 66,
"b": 120
},
"hsl": {
"h": 337.021,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.59376,
"c": 0.18198,
"h": 0.9
},
"luminance": 0.18518
}Semantic roles & 50–950 ramp
primary
#CF4278
secondary
#98D5BD
accent
#E3A645
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E