#D1284C#D1284C
#D1284C is a mid, highly saturated red. Relative luminance 0.156; OKLCH L 56.4% C 0.202 H 15.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D1284C |
|---|---|
| RGB | rgb(209, 40, 76) |
| HSL | hsl(347, 68%, 49%) |
| HSV | hsv(347, 81%, 82%) |
| CMYK | cmyk(0%, 80.9%, 63.6%, 18%) |
| CIE-LAB | lab(46.44, 64.96, 22.68) |
| CIE-LCH | lch(46.44, 68.81, 19.24°) |
| OKLab | oklab(56.38% 0.1943 0.0546) |
| OKLCH | oklch(56.38% 0.202 15.7) |
| XYZ | xyz(28.3609, 15.5991, 8.3537) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 1.75
Ruby
#CA0147
ΔE00 3.80
Crimson
#DC143C
ΔE00 4.52
Cardinal
#C41E3A
ΔE00 4.71
Raspberry
#E30B5C
ΔE00 5.04
Cherry (survey)
#CF0234
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1284C #28D1AD
analogous
#D128A1 #D1284C #D15928
triadic
#D1284C #4CD128 #284CD1
tetradic
#D1284C #A1D128 #28D1AD #5928D1
square
#D1284C #A1D128 #28D1AD #5928D1
split-complementary
#D1284C #28D159 #28A1D1
monochromatic
#6A1427 #9E1E39 #D1284C #DF5774 #E98B9F
Accessibility & contrast
On white
5.10
#D1284C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#D1284C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D1284C
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1284C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D1284C | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B584C
Deuteranopia (green-blind)
#857A47
Tritanopia (blue-blind)
#E50038
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #d1284c; /* rgb */ color: rgb(209, 40, 76); /* oklch */ color: oklch(56.4% 0.202 15.7);
Tailwind
colors: {
custom: {
50: '#e7747d',
500: '#d1284c',
950: '#000000',
},
}SCSS
$custom: #d1284c; $custom-light: #e7747d; $custom-dark: #000000;
JSON
{
"hex": "#d1284c",
"rgb": {
"r": 209,
"g": 40,
"b": 76
},
"hsl": {
"h": 347.219,
"s": 67.871,
"l": 48.824
},
"oklch": {
"l": 0.56382,
"c": 0.20179,
"h": 15.7
},
"luminance": 0.15595
}Semantic roles & 50–950 ramp
primary
#D1284C
secondary
#82D3C1
accent
#EBC63D
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#180909
muted
#867B7B