#D1394F#D1394F
#D1394F is a mid, vivid red. Relative luminance 0.170; OKLCH L 57.8% C 0.188 H 17.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #D1394F |
|---|---|
| RGB | rgb(209, 57, 79) |
| HSL | hsl(351, 62%, 52%) |
| HSV | hsv(351, 73%, 82%) |
| CMYK | cmyk(0%, 72.7%, 62.2%, 18%) |
| CIE-LAB | lab(48.32, 60.02, 23.30) |
| CIE-LCH | lch(48.32, 64.38, 21.22°) |
| OKLab | oklab(57.79% 0.179 0.0563) |
| OKLCH | oklch(57.79% 0.188 17.5) |
| XYZ | xyz(29.1719, 17.0503, 9.1506) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 3.98
Faded Red
#D3494E
ΔE00 4.19
Crimson
#DC143C
ΔE00 4.43
Dusty Red
#B9484E
ΔE00 4.61
Pinkish Red
#F10C45
ΔE00 5.67
Reddish
#C44240
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1394F #39D1BB
analogous
#D1399B #D1394F #D16F39
triadic
#D1394F #4FD139 #394FD1
tetradic
#D1394F #9BD139 #39D1BB #6F39D1
square
#D1394F #9BD139 #39D1BB #6F39D1
split-complementary
#D1394F #39D16F #399BD1
monochromatic
#751B28 #A62739 #D1394F #DD6B7B #E89CA7
Accessibility & contrast
On white
4.76
#D1394F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#D1394F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D1394F
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1394F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D1394F | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635E4F
Deuteranopia (green-blind)
#897E4B
Tritanopia (blue-blind)
#E50042
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #d1394f; /* rgb */ color: rgb(209, 57, 79); /* oklch */ color: oklch(57.8% 0.188 17.5);
Tailwind
colors: {
custom: {
50: '#e77b80',
500: '#d1394f',
950: '#000000',
},
}SCSS
$custom: #d1394f; $custom-light: #e77b80; $custom-dark: #000000;
JSON
{
"hex": "#d1394f",
"rgb": {
"r": 209,
"g": 57,
"b": 79
},
"hsl": {
"h": 351.316,
"s": 62.295,
"l": 52.157
},
"oklch": {
"l": 0.57792,
"c": 0.1876,
"h": 17.5
},
"luminance": 0.17046
}Semantic roles & 50–950 ramp
primary
#D1394F
secondary
#92D4CA
accent
#E5CE42
background
#FFF7F7
surface
#FEEEEE
border
#D6C9C9
text
#170A0A
muted
#857C7C