#CF4271#CF4271
#CF4271 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.2% C 0.180 H 4.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4271 |
|---|---|
| RGB | rgb(207, 66, 113) |
| HSL | hsl(340, 59%, 54%) |
| HSV | hsv(340, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 45.4%, 18.8%) |
| CIE-LAB | lab(49.93, 58.75, 4.83) |
| CIE-LCH | lch(49.93, 58.95, 4.70°) |
| OKLab | oklab(59.17% 0.1795 0.013) |
| OKLCH | oklch(59.17% 0.18 4.1) |
| XYZ | xyz(30.6633, 18.3580, 17.5483) |
| Luminance | 0.1835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 1.51
Deep Rose
#C74767
ΔE00 3.08
Darkish Pink
#DA467D
ΔE00 3.20
Cherry
#DE3163
ΔE00 4.56
Cerise
#DE0C62
ΔE00 5.01
Dark Hot Pink
#D90166
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4271 #42CFA0
analogous
#CF42B7 #CF4271 #CF5942
triadic
#CF4271 #71CF42 #4271CF
tetradic
#CF4271 #B7CF42 #42CFA0 #5942CF
square
#CF4271 #B7CF42 #42CFA0 #5942CF
split-complementary
#CF4271 #42CF59 #42B7CF
monochromatic
#781F3C #A92B55 #CF4271 #DB7396 #E8A4BA
Accessibility & contrast
On white
4.50
#CF4271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#CF4271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4271
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4271 | 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)
#616572
Deuteranopia (green-blind)
#86816E
Tritanopia (blue-blind)
#E12D55
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cf4271; /* rgb */ color: rgb(207, 66, 113); /* oklch */ color: oklch(59.2% 0.180 4.1);
Tailwind
colors: {
custom: {
50: '#e38099',
500: '#cf4271',
950: '#000000',
},
}SCSS
$custom: #cf4271; $custom-light: #e38099; $custom-dark: #000000;
JSON
{
"hex": "#cf4271",
"rgb": {
"r": 207,
"g": 66,
"b": 113
},
"hsl": {
"h": 340,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.59167,
"c": 0.18,
"h": 4.1
},
"luminance": 0.18354
}Semantic roles & 50–950 ramp
primary
#CF4271
secondary
#98D5C0
accent
#E3AE45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E