#310F17#310F17
#310F17 is a very dark, muted red. Relative luminance 0.011; OKLCH L 22.7% C 0.056 H 8.1°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).
Color values
| HEX | #310F17 |
|---|---|
| RGB | rgb(49, 15, 23) |
| HSL | hsl(346, 53%, 13%) |
| HSV | hsv(346, 69%, 19%) |
| CMYK | cmyk(0%, 69.4%, 53.1%, 80.8%) |
| CIE-LAB | lab(9.46, 18.21, 2.99) |
| CIE-LCH | lch(9.46, 18.46, 9.33°) |
| OKLab | oklab(22.66% 0.0554 0.0079) |
| OKLCH | oklch(22.66% 0.056 8.1) |
| XYZ | xyz(1.5922, 1.0567, 0.9306) |
| Luminance | 0.0106 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.86
Very Dark Brown
#1D0200
ΔE00 7.74
Deep Brown
#410200
ΔE00 9.20
Dark Plum
#3F012C
ΔE00 10.47
Mahogany
#4A0100
ΔE00 11.24
Dried Blood
#4B0101
ΔE00 11.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310F17 #0F3129
analogous
#310F28 #310F17 #31180F
triadic
#310F17 #17310F #0F1731
tetradic
#310F17 #28310F #0F3129 #180F31
square
#310F17 #28310F #0F3129 #180F31
split-complementary
#310F17 #0F3118 #0F2831
monochromatic
#17070B #17070B #310F17 #601D2D #8F2C43
Accessibility & contrast
On white
17.34
#310F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#310F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310F17
17.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310F17 | 1.00 | 17.34 | 1.21 | 17.34 |
| #FFFFFF | 17.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#161617
Deuteranopia (green-blind)
#1F1D16
Tritanopia (blue-blind)
#360B12
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #310f17; /* rgb */ color: rgb(49, 15, 23); /* oklch */ color: oklch(22.7% 0.056 8.1);
Tailwind
colors: {
custom: {
50: '#6b4f53',
500: '#310f17',
950: '#000000',
},
}SCSS
$custom: #310f17; $custom-light: #6b4f53; $custom-dark: #000000;
JSON
{
"hex": "#310f17",
"rgb": {
"r": 49,
"g": 15,
"b": 23
},
"hsl": {
"h": 345.882,
"s": 53.125,
"l": 12.549
},
"oklch": {
"l": 0.22657,
"c": 0.05592,
"h": 8.1
},
"luminance": 0.01056
}Semantic roles & 50–950 ramp
primary
#310F17
secondary
#316B5D
accent
#DDBA4B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878