#310405#310405
#310405 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.5% C 0.073 H 25.1°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).
Color values
| HEX | #310405 |
|---|---|
| RGB | rgb(49, 4, 5) |
| HSL | hsl(359, 85%, 10%) |
| HSV | hsv(359, 92%, 19%) |
| CMYK | cmyk(0%, 91.8%, 89.8%, 80.8%) |
| CIE-LAB | lab(6.78, 22.51, 8.58) |
| CIE-LCH | lch(6.78, 24.09, 20.86°) |
| OKLab | oklab(20.47% 0.066 0.0309) |
| OKLCH | oklch(20.47% 0.073 25.1) |
| XYZ | xyz(1.3376, 0.7510, 0.2181) |
| Luminance | 0.0075 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.37
Deep Brown
#410200
ΔE00 5.45
Mahogany
#4A0100
ΔE00 7.76
Dried Blood
#4B0101
ΔE00 7.88
Very Dark Brown
#1D0200
ΔE00 9.13
Burgundy (survey)
#610023
ΔE00 11.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310405 #043130
analogous
#31041B #310405 #311904
triadic
#310405 #053104 #040531
tetradic
#310405 #1B3104 #043130 #190431
square
#310405 #1B3104 #043130 #190431
split-complementary
#310405 #043119 #041B31
monochromatic
#1C0203 #1C0203 #310405 #6A090B #A20D11
Accessibility & contrast
On white
18.26
#310405 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#310405 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310405
18.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310405 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310405 | 1.00 | 18.26 | 1.15 | 18.26 |
| #FFFFFF | 18.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#110F05
Deuteranopia (green-blind)
#1D1904
Tritanopia (blue-blind)
#370005
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #310405; /* rgb */ color: rgb(49, 4, 5); /* oklch */ color: oklch(20.5% 0.073 25.1);
Tailwind
colors: {
custom: {
50: '#6d4849',
500: '#310405',
950: '#000000',
},
}SCSS
$custom: #310405; $custom-light: #6d4849; $custom-dark: #000000;
JSON
{
"hex": "#310405",
"rgb": {
"r": 49,
"g": 4,
"b": 5
},
"hsl": {
"h": 358.667,
"s": 84.906,
"l": 10.392
},
"oklch": {
"l": 0.20466,
"c": 0.07282,
"h": 25.1
},
"luminance": 0.00751
}Semantic roles & 50–950 ramp
primary
#310405
secondary
#1D7372
accent
#FBF72D
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070100
muted
#7A7777