#310101#310101
#310101 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.9% C 0.079 H 28.5°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).
Color values
| HEX | #310101 |
|---|---|
| RGB | rgb(49, 1, 1) |
| HSL | hsl(0, 96%, 10%) |
| HSV | hsv(0, 98%, 19%) |
| CMYK | cmyk(0%, 98%, 98%, 80.8%) |
| CIE-LAB | lab(6.12, 23.73, 9.23) |
| CIE-LCH | lch(6.12, 25.46, 21.26°) |
| OKLab | oklab(19.87% 0.0692 0.0375) |
| OKLCH | oklch(19.87% 0.079 28.5) |
| XYZ | xyz(1.2831, 0.6771, 0.0918) |
| Luminance | 0.0068 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 2.98
Deep Brown
#410200
ΔE00 5.13
Mahogany
#4A0100
ΔE00 7.47
Dried Blood
#4B0101
ΔE00 7.59
Very Dark Brown
#1D0200
ΔE00 9.64
Burgundy (survey)
#610023
ΔE00 10.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310101 #013131
analogous
#310119 #310101 #311901
triadic
#310101 #013101 #010131
tetradic
#310101 #193101 #013131 #190131
square
#310101 #193101 #013131 #190131
split-complementary
#310101 #013119 #011931
monochromatic
#1E0101 #1E0101 #310101 #6D0202 #A90303
Accessibility & contrast
On white
18.50
#310101 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#310101 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310101
18.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310101 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310101 | 1.00 | 18.50 | 1.14 | 18.50 |
| #FFFFFF | 18.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F0C01
Deuteranopia (green-blind)
#1C1700
Tritanopia (blue-blind)
#370001
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #310101; /* rgb */ color: rgb(49, 1, 1); /* oklch */ color: oklch(19.9% 0.079 28.5);
Tailwind
colors: {
custom: {
50: '#6d4647',
500: '#310101',
950: '#000000',
},
}SCSS
$custom: #310101; $custom-light: #6d4647; $custom-dark: #000000;
JSON
{
"hex": "#310101",
"rgb": {
"r": 49,
"g": 1,
"b": 1
},
"hsl": {
"h": 0,
"s": 96,
"l": 9.804
},
"oklch": {
"l": 0.19866,
"c": 0.07866,
"h": 28.5
},
"luminance": 0.00677
}Semantic roles & 50–950 ramp
primary
#310101
secondary
#177777
accent
#FFFF29
background
#F6F4F3
surface
#ECE6E5
border
#C7C2C1
text
#080000
muted
#7A7777