#D1284F#D1284F
#D1284F is a mid, highly saturated red. Relative luminance 0.156; OKLCH L 56.4% C 0.202 H 14.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #D1284F |
|---|---|
| RGB | rgb(209, 40, 79) |
| HSL | hsl(346, 68%, 49%) |
| HSV | hsv(346, 81%, 82%) |
| CMYK | cmyk(0%, 80.9%, 62.2%, 18%) |
| CIE-LAB | lab(46.50, 65.13, 20.91) |
| CIE-LCH | lch(46.50, 68.41, 17.80°) |
| OKLab | oklab(56.44% 0.1954 0.0508) |
| OKLCH | oklch(56.44% 0.202 14.6) |
| XYZ | xyz(28.4676, 15.6418, 8.9158) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 1.25
Ruby
#CA0147
ΔE00 3.63
Raspberry
#E30B5C
ΔE00 4.36
Cherry
#DE3163
ΔE00 5.06
Crimson
#DC143C
ΔE00 5.34
Cardinal
#C41E3A
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1284F #28D1AA
analogous
#D128A4 #D1284F #D15628
triadic
#D1284F #4FD128 #284FD1
tetradic
#D1284F #A4D128 #28D1AA #5628D1
square
#D1284F #A4D128 #28D1AA #5628D1
split-complementary
#D1284F #28D156 #28A4D1
monochromatic
#6A1428 #9E1E3C #D1284F #DF5777 #E98BA0
Accessibility & contrast
On white
5.09
#D1284F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#D1284F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D1284F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1284F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D1284F | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A584F
Deuteranopia (green-blind)
#857B4A
Tritanopia (blue-blind)
#E50039
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #d1284f; /* rgb */ color: rgb(209, 40, 79); /* oklch */ color: oklch(56.4% 0.202 14.6);
Tailwind
colors: {
custom: {
50: '#e77480',
500: '#d1284f',
950: '#000000',
},
}SCSS
$custom: #d1284f; $custom-light: #e77480; $custom-dark: #000000;
JSON
{
"hex": "#d1284f",
"rgb": {
"r": 209,
"g": 40,
"b": 79
},
"hsl": {
"h": 346.154,
"s": 67.871,
"l": 48.824
},
"oklch": {
"l": 0.56443,
"c": 0.20191,
"h": 14.6
},
"luminance": 0.15637
}Semantic roles & 50–950 ramp
primary
#D1284F
secondary
#82D3C0
accent
#EBC33D
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#17090A
muted
#857B7C