#CF457F#CF457F
#CF457F is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.181 H 358.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CF457F |
|---|---|
| RGB | rgb(207, 69, 127) |
| HSL | hsl(335, 59%, 54%) |
| HSV | hsv(335, 67%, 81%) |
| CMYK | cmyk(0%, 66.7%, 38.6%, 18.8%) |
| CIE-LAB | lab(50.75, 58.98, -2.41) |
| CIE-LCH | lch(50.75, 59.03, 357.66°) |
| OKLab | oklab(59.91% 0.1806 -0.0056) |
| OKLCH | oklch(59.91% 0.181 358.2) |
| XYZ | xyz(31.6931, 19.0577, 22.0841) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.82
Dark Pink
#CB416B
ΔE00 4.81
Deep Rose
#C74767
ΔE00 6.30
Dark Hot Pink
#D90166
ΔE00 6.89
Blush
#DE5D83
ΔE00 7.13
Cerise
#DE0C62
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF457F #45CF95
analogous
#CF45C4 #CF457F #CF5045
triadic
#CF457F #7FCF45 #457FCF
tetradic
#CF457F #C4CF45 #45CF95 #5045CF
square
#CF457F #C4CF45 #45CF95 #5045CF
split-complementary
#CF457F #45CF50 #45C4CF
monochromatic
#7A2046 #AB2C61 #CF457F #DC76A0 #E8A6C2
Accessibility & contrast
On white
4.37
#CF457F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#CF457F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF457F
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF457F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF457F | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6881
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#DF375D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cf457f; /* rgb */ color: rgb(207, 69, 127); /* oklch */ color: oklch(59.9% 0.181 358.2);
Tailwind
colors: {
custom: {
50: '#e281a4',
500: '#cf457f',
950: '#000000',
},
}SCSS
$custom: #cf457f; $custom-light: #e281a4; $custom-dark: #000000;
JSON
{
"hex": "#cf457f",
"rgb": {
"r": 207,
"g": 69,
"b": 127
},
"hsl": {
"h": 334.783,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.59911,
"c": 0.18066,
"h": 358.2
},
"luminance": 0.19054
}Semantic roles & 50–950 ramp
primary
#CF457F
secondary
#9BD5BD
accent
#E2A046
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F