#D1978F#D1978F
#D1978F is a light, moderate red. Relative luminance 0.377; OKLCH L 73.0% C 0.071 H 27.8°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #D1978F |
|---|---|
| RGB | rgb(209, 151, 143) |
| HSL | hsl(7, 42%, 69%) |
| HSV | hsv(7, 32%, 82%) |
| CMYK | cmyk(0%, 27.8%, 31.6%, 18%) |
| CIE-LAB | lab(67.78, 20.68, 12.84) |
| CIE-LCH | lch(67.78, 24.35, 31.84°) |
| OKLab | oklab(73.01% 0.0631 0.0332) |
| OKLCH | oklch(73.01% 0.071 27.8) |
| XYZ | xyz(42.3202, 37.6742, 31.0240) |
| Luminance | 0.3767 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosybrown
#BC8F8F
ΔE00 5.47
Greyish Pink
#C88D94
ΔE00 6.41
Pinkish Tan
#D99B82
ΔE00 6.56
Blush (survey)
#F29E8E
ΔE00 6.73
Brownish Pink
#C27E79
ΔE00 7.29
Dusty Pink (survey)
#D58A94
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1978F #8FC9D1
analogous
#D18FA8 #D1978F #D1B88F
triadic
#D1978F #8FD197 #978FD1
tetradic
#D1978F #A8D18F #8FC9D1 #B88FD1
square
#D1978F #A8D18F #8FC9D1 #B88FD1
split-complementary
#D1978F #8FD1B8 #8FA8D1
monochromatic
#A34E43 #BF6F64 #D1978F #E3BFBA #F5E8E6
Accessibility & contrast
On white
2.46
#D1978F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#D1978F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1978F
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1978F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1978F | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39E8E
Deuteranopia (green-blind)
#B1AA8E
Tritanopia (blue-blind)
#DE9095
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d1978f; /* rgb */ color: rgb(209, 151, 143); /* oklch */ color: oklch(73.0% 0.071 27.8);
Tailwind
colors: {
custom: {
50: '#e0b6af',
500: '#d1978f',
950: '#000000',
},
}SCSS
$custom: #d1978f; $custom-light: #e0b6af; $custom-dark: #000000;
JSON
{
"hex": "#d1978f",
"rgb": {
"r": 209,
"g": 151,
"b": 143
},
"hsl": {
"h": 7.273,
"s": 41.772,
"l": 69.02
},
"oklch": {
"l": 0.73008,
"c": 0.07136,
"h": 27.8
},
"luminance": 0.37672
}Semantic roles & 50–950 ramp
primary
#D1978F
secondary
#D4E5E8
accent
#A5B531
background
#FDFBFA
surface
#FBF6F4
border
#D4D0CE
text
#151110
muted
#83807F