#D1817F#D1817F
#D1817F is a light, moderate red. Relative luminance 0.308; OKLCH L 68.7% C 0.100 H 21.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D1817F |
|---|---|
| RGB | rgb(209, 129, 127) |
| HSL | hsl(1, 47%, 66%) |
| HSV | hsv(1, 39%, 82%) |
| CMYK | cmyk(0%, 38.3%, 39.2%, 18%) |
| CIE-LAB | lab(62.33, 30.64, 14.21) |
| CIE-LCH | lch(62.33, 33.77, 24.88°) |
| OKLab | oklab(68.69% 0.0926 0.0365) |
| OKLCH | oklch(68.69% 0.1 21.5) |
| XYZ | xyz(37.9773, 30.7912, 24.0177) |
| Luminance | 0.3079 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 3.18
Brownish Pink
#C27E79
ΔE00 3.24
Old Rose
#C87F89
ΔE00 5.01
Dusty Pink (survey)
#D58A94
ΔE00 5.44
Lightcoral
#F08080
ΔE00 5.70
Dusty Rose
#C0737A
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1817F #7FCFD1
analogous
#D17FA6 #D1817F #D1AA7F
triadic
#D1817F #7FD181 #817FD1
tetradic
#D1817F #A6D17F #7FCFD1 #AA7FD1
square
#D1817F #A6D17F #7FCFD1 #AA7FD1
split-complementary
#D1817F #7FD1AA #7FA6D1
monochromatic
#9D3B38 #C15552 #D1817F #E1ADAC #F1DAD9
Accessibility & contrast
On white
2.93
#D1817F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#D1817F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1817F
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1817F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1817F | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918D7E
Deuteranopia (green-blind)
#A59D7E
Tritanopia (blue-blind)
#E07781
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #d1817f; /* rgb */ color: rgb(209, 129, 127); /* oklch */ color: oklch(68.7% 0.100 21.5);
Tailwind
colors: {
custom: {
50: '#e1a6a4',
500: '#d1817f',
950: '#000000',
},
}SCSS
$custom: #d1817f; $custom-light: #e1a6a4; $custom-dark: #000000;
JSON
{
"hex": "#d1817f",
"rgb": {
"r": 209,
"g": 129,
"b": 127
},
"hsl": {
"h": 1.463,
"s": 47.126,
"l": 65.882
},
"oklch": {
"l": 0.68695,
"c": 0.09956,
"h": 21.5
},
"luminance": 0.30788
}Semantic roles & 50–950 ramp
primary
#D1817F
secondary
#C8E3E3
accent
#B7BA2B
background
#FEFAFA
surface
#FCF4F4
border
#D5CECE
text
#160F0F
muted
#847F7F