#310F0C#310F0C
#310F0C is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.3% C 0.056 H 27.5°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).
Color values
| HEX | #310F0C |
|---|---|
| RGB | rgb(49, 15, 12) |
| HSL | hsl(5, 61%, 12%) |
| HSV | hsv(5, 76%, 19%) |
| CMYK | cmyk(0%, 69.4%, 75.5%, 80.8%) |
| CIE-LAB | lab(9.17, 17.04, 9.15) |
| CIE-LCH | lch(9.17, 19.34, 28.23°) |
| OKLab | oklab(22.35% 0.0499 0.026) |
| OKLCH | oklch(22.35% 0.056 27.5) |
| XYZ | xyz(1.5039, 1.0214, 0.4657) |
| Luminance | 0.0102 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.36
Deep Brown
#410200
ΔE00 6.68
Very Dark Brown
#1D0200
ΔE00 7.14
Mahogany
#4A0100
ΔE00 8.56
Dried Blood
#4B0101
ΔE00 8.70
Chocolate Brown
#411900
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310F0C #0C2E31
analogous
#310C1C #310F0C #31220C
triadic
#310F0C #0C310F #0F0C31
tetradic
#310F0C #1C310C #0C2E31 #220C31
square
#310F0C #1C310C #0C2E31 #220C31
split-complementary
#310F0C #0C3122 #0C1C31
monochromatic
#190806 #190806 #310F0C #621E18 #932D24
Accessibility & contrast
On white
17.44
#310F0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#310F0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310F0C
17.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310F0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310F0C | 1.00 | 17.44 | 1.20 | 17.44 |
| #FFFFFF | 17.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18150C
Deuteranopia (green-blind)
#201D0B
Tritanopia (blue-blind)
#36090E
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #310f0c; /* rgb */ color: rgb(49, 15, 12); /* oklch */ color: oklch(22.3% 0.056 27.5);
Tailwind
colors: {
custom: {
50: '#6c4f4c',
500: '#310f0c',
950: '#000000',
},
}SCSS
$custom: #310f0c; $custom-light: #6c4f4c; $custom-dark: #000000;
JSON
{
"hex": "#310f0c",
"rgb": {
"r": 49,
"g": 15,
"b": 12
},
"hsl": {
"h": 4.865,
"s": 60.656,
"l": 11.961
},
"oklch": {
"l": 0.22348,
"c": 0.05626,
"h": 27.5
},
"luminance": 0.01021
}Semantic roles & 50–950 ramp
primary
#310F0C
secondary
#2C686D
accent
#D7E444
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877