#CF405F#CF405F
#CF405F is a mid, vivid red. Relative luminance 0.178; OKLCH L 58.5% C 0.179 H 12.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CF405F |
|---|---|
| RGB | rgb(207, 64, 95) |
| HSL | hsl(347, 60%, 53%) |
| HSV | hsv(347, 69%, 81%) |
| CMYK | cmyk(0%, 69.1%, 54.1%, 18.8%) |
| CIE-LAB | lab(49.21, 57.98, 14.73) |
| CIE-LCH | lch(49.21, 59.82, 14.25°) |
| OKLab | oklab(58.49% 0.1753 0.0371) |
| OKLCH | oklch(58.49% 0.179 12) |
| XYZ | xyz(29.6338, 17.7624, 12.6923) |
| Luminance | 0.1776 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Rose
#C74767
ΔE00 2.68
Cherry
#DE3163
ΔE00 2.89
Dark Pink
#CB416B
ΔE00 3.82
Raspberry
#E30B5C
ΔE00 4.36
Lipstick
#D5174E
ΔE00 4.72
Dark Rose
#B5485D
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF405F #40CFB0
analogous
#CF40A6 #CF405F #CF6840
triadic
#CF405F #5FCF40 #405FCF
tetradic
#CF405F #A6CF40 #40CFB0 #6840CF
square
#CF405F #A6CF40 #40CFB0 #6840CF
split-complementary
#CF405F #40CF68 #40A6CF
monochromatic
#771E31 #A82A45 #CF405F #DB7188 #E8A2B1
Accessibility & contrast
On white
4.61
#CF405F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#CF405F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #CF405F
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF405F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF405F | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63625F
Deuteranopia (green-blind)
#88805B
Tritanopia (blue-blind)
#E2224C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #cf405f; /* rgb */ color: rgb(207, 64, 95); /* oklch */ color: oklch(58.5% 0.179 12.0);
Tailwind
colors: {
custom: {
50: '#e47e8c',
500: '#cf405f',
950: '#000000',
},
}SCSS
$custom: #cf405f; $custom-light: #e47e8c; $custom-dark: #000000;
JSON
{
"hex": "#cf405f",
"rgb": {
"r": 207,
"g": 64,
"b": 95
},
"hsl": {
"h": 346.993,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.58488,
"c": 0.17918,
"h": 12
},
"luminance": 0.17758
}Semantic roles & 50–950 ramp
primary
#CF405F
secondary
#97D4C7
accent
#E3C145
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D