#310505#310505
#310505 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.6% C 0.071 H 26.1°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).
Color values
| HEX | #310505 |
|---|---|
| RGB | rgb(49, 5, 5) |
| HSL | hsl(0, 81%, 11%) |
| HSV | hsv(0, 90%, 19%) |
| CMYK | cmyk(0%, 89.8%, 89.8%, 80.8%) |
| CIE-LAB | lab(6.98, 21.99, 8.86) |
| CIE-LCH | lch(6.98, 23.71, 21.95°) |
| OKLab | oklab(20.63% 0.064 0.0314) |
| OKLCH | oklch(20.63% 0.071 26.1) |
| XYZ | xyz(1.3484, 0.7727, 0.2217) |
| Luminance | 0.0077 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.57
Deep Brown
#410200
ΔE00 5.35
Mahogany
#4A0100
ΔE00 7.66
Dried Blood
#4B0101
ΔE00 7.78
Very Dark Brown
#1D0200
ΔE00 8.93
Burgundy (survey)
#610023
ΔE00 11.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310505 #053131
analogous
#31051B #310505 #311B05
triadic
#310505 #053105 #050531
tetradic
#310505 #1B3105 #053131 #1B0531
square
#310505 #1B3105 #053131 #1B0531
split-complementary
#310505 #05311B #051B31
monochromatic
#1C0303 #1C0303 #310505 #690B0B #A01010
Accessibility & contrast
On white
18.19
#310505 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#310505 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310505
18.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310505 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310505 | 1.00 | 18.19 | 1.15 | 18.19 |
| #FFFFFF | 18.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#120F05
Deuteranopia (green-blind)
#1D1904
Tritanopia (blue-blind)
#370005
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #310505; /* rgb */ color: rgb(49, 5, 5); /* oklch */ color: oklch(20.6% 0.071 26.1);
Tailwind
colors: {
custom: {
50: '#6d4949',
500: '#310505',
950: '#000000',
},
}SCSS
$custom: #310505; $custom-light: #6d4949; $custom-dark: #000000;
JSON
{
"hex": "#310505",
"rgb": {
"r": 49,
"g": 5,
"b": 5
},
"hsl": {
"h": 0,
"s": 81.481,
"l": 10.588
},
"oklch": {
"l": 0.20627,
"c": 0.07131,
"h": 26.1
},
"luminance": 0.00772
}Semantic roles & 50–950 ramp
primary
#310505
secondary
#1F7272
accent
#F8F830
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777