#D2787F#D2787F
#D2787F is a light, moderate red. Relative luminance 0.287; OKLCH L 67.3% C 0.112 H 15.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #D2787F |
|---|---|
| RGB | rgb(210, 120, 127) |
| HSL | hsl(355, 50%, 65%) |
| HSV | hsv(355, 43%, 82%) |
| CMYK | cmyk(0%, 42.9%, 39.5%, 17.6%) |
| CIE-LAB | lab(60.49, 35.81, 11.65) |
| CIE-LCH | lch(60.49, 37.65, 18.02°) |
| OKLab | oklab(67.32% 0.1084 0.0302) |
| OKLCH | oklch(67.32% 0.112 15.6) |
| XYZ | xyz(37.1274, 28.6702, 23.6531) |
| Luminance | 0.2867 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.84
Ugly Pink
#CD7584
ΔE00 3.06
Old Pink
#C77986
ΔE00 3.61
Old Rose
#C87F89
ΔE00 3.67
Dusty Rose
#C0737A
ΔE00 3.81
Dusky Pink
#CC7A8B
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2787F #78D2CB
analogous
#D278AC #D2787F #D29E78
triadic
#D2787F #7FD278 #787FD2
tetradic
#D2787F #ACD278 #78D2CB #9E78D2
square
#D2787F #ACD278 #78D2CB #9E78D2
split-complementary
#D2787F #78D29E #78ACD2
monochromatic
#9C343C #C34A53 #D2787F #E1A6AB #F1D4D6
Accessibility & contrast
On white
3.12
#D2787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#D2787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D2787F
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2787F | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A877F
Deuteranopia (green-blind)
#A0997D
Tritanopia (blue-blind)
#E26E7B
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d2787f; /* rgb */ color: rgb(210, 120, 127); /* oklch */ color: oklch(67.3% 0.112 15.6);
Tailwind
colors: {
custom: {
50: '#e3a0a4',
500: '#d2787f',
950: '#000000',
},
}SCSS
$custom: #d2787f; $custom-light: #e3a0a4; $custom-dark: #000000;
JSON
{
"hex": "#d2787f",
"rgb": {
"r": 210,
"g": 120,
"b": 127
},
"hsl": {
"h": 355.333,
"s": 50,
"l": 64.706
},
"oklch": {
"l": 0.67315,
"c": 0.11248,
"h": 15.6
},
"luminance": 0.28667
}Semantic roles & 50–950 ramp
primary
#D2787F
secondary
#C3E2E0
accent
#BDB228
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#160F0F
muted
#847F7F