#310B14#310B14
#310B14 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.9% C 0.062 H 9.5°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).
Color values
| HEX | #310B14 |
|---|---|
| RGB | rgb(49, 11, 20) |
| HSL | hsl(346, 63%, 12%) |
| HSV | hsv(346, 78%, 19%) |
| CMYK | cmyk(0%, 77.6%, 59.2%, 80.8%) |
| CIE-LAB | lab(8.51, 20.13, 3.74) |
| CIE-LCH | lch(8.51, 20.48, 10.52°) |
| OKLab | oklab(21.92% 0.0611 0.0102) |
| OKLCH | oklch(21.92% 0.062 9.5) |
| XYZ | xyz(1.5127, 0.9430, 0.7640) |
| Luminance | 0.0094 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.74
Very Dark Brown
#1D0200
ΔE00 8.38
Deep Brown
#410200
ΔE00 8.39
Dark Plum
#3F012C
ΔE00 10.28
Mahogany
#4A0100
ΔE00 10.53
Dried Blood
#4B0101
ΔE00 10.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310B14 #0B3128
analogous
#310B27 #310B14 #31150B
triadic
#310B14 #14310B #0B1431
tetradic
#310B14 #27310B #0B3128 #150B31
square
#310B14 #27310B #0B3128 #150B31
split-complementary
#310B14 #0B3115 #0B2731
monochromatic
#19060A #19060A #310B14 #631628 #95213D
Accessibility & contrast
On white
17.67
#310B14 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.19
#310B14 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310B14
17.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310B14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310B14 | 1.00 | 17.67 | 1.19 | 17.67 |
| #FFFFFF | 17.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#141414
Deuteranopia (green-blind)
#1D1B13
Tritanopia (blue-blind)
#36060F
Achromatopsia (no color)
#191919
Design tokens & code
CSS
--color: #310b14; /* rgb */ color: rgb(49, 11, 20); /* oklch */ color: oklch(21.9% 0.062 9.5);
Tailwind
colors: {
custom: {
50: '#6c4c51',
500: '#310b14',
950: '#000000',
},
}SCSS
$custom: #310b14; $custom-light: #6c4c51; $custom-dark: #000000;
JSON
{
"hex": "#310b14",
"rgb": {
"r": 49,
"g": 11,
"b": 20
},
"hsl": {
"h": 345.789,
"s": 63.333,
"l": 11.765
},
"oklch": {
"l": 0.21917,
"c": 0.06198,
"h": 9.5
},
"luminance": 0.00943
}Semantic roles & 50–950 ramp
primary
#310B14
secondary
#2A6E5E
accent
#E6BF41
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778