#CF4270#CF4270
#CF4270 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.1% C 0.180 H 4.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4270 |
|---|---|
| RGB | rgb(207, 66, 112) |
| HSL | hsl(340, 59%, 54%) |
| HSV | hsv(340, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 45.9%, 18.8%) |
| CIE-LAB | lab(49.90, 58.66, 5.39) |
| CIE-LCH | lch(49.90, 58.91, 5.25°) |
| OKLab | oklab(59.14% 0.1792 0.0145) |
| OKLCH | oklch(59.14% 0.18 4.6) |
| XYZ | xyz(30.6073, 18.3356, 17.2534) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 1.30
Deep Rose
#C74767
ΔE00 2.84
Darkish Pink
#DA467D
ΔE00 3.36
Cherry
#DE3163
ΔE00 4.34
Cerise
#DE0C62
ΔE00 4.89
Dark Hot Pink
#D90166
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4270 #42CFA1
analogous
#CF42B6 #CF4270 #CF5A42
triadic
#CF4270 #70CF42 #4270CF
tetradic
#CF4270 #B6CF42 #42CFA1 #5A42CF
square
#CF4270 #B6CF42 #42CFA1 #5A42CF
split-complementary
#CF4270 #42CF5A #42B6CF
monochromatic
#781F3C #A92B54 #CF4270 #DB7395 #E8A4BA
Accessibility & contrast
On white
4.50
#CF4270 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#CF4270 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4270
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4270 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4270 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#616571
Deuteranopia (green-blind)
#86816D
Tritanopia (blue-blind)
#E12C55
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cf4270; /* rgb */ color: rgb(207, 66, 112); /* oklch */ color: oklch(59.1% 0.180 4.6);
Tailwind
colors: {
custom: {
50: '#e38098',
500: '#cf4270',
950: '#000000',
},
}SCSS
$custom: #cf4270; $custom-light: #e38098; $custom-dark: #000000;
JSON
{
"hex": "#cf4270",
"rgb": {
"r": 207,
"g": 66,
"b": 112
},
"hsl": {
"h": 340.426,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.59138,
"c": 0.17976,
"h": 4.6
},
"luminance": 0.18332
}Semantic roles & 50–950 ramp
primary
#CF4270
secondary
#98D5C1
accent
#E3AF45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E