#310301#310301
#310301 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.2% C 0.076 H 30.5°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).
Color values
| HEX | #310301 |
|---|---|
| RGB | rgb(49, 3, 1) |
| HSL | hsl(3, 96%, 10%) |
| HSV | hsv(3, 98%, 19%) |
| CMYK | cmyk(0%, 93.9%, 98%, 80.8%) |
| CIE-LAB | lab(6.51, 22.70, 9.80) |
| CIE-LCH | lch(6.51, 24.73, 23.36°) |
| OKLab | oklab(20.21% 0.0651 0.0383) |
| OKLCH | oklch(20.21% 0.076 30.5) |
| XYZ | xyz(1.3048, 0.7205, 0.0991) |
| Luminance | 0.0072 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.35
Deep Brown
#410200
ΔE00 4.89
Mahogany
#4A0100
ΔE00 7.23
Dried Blood
#4B0101
ΔE00 7.36
Very Dark Brown
#1D0200
ΔE00 9.27
Chocolate Brown
#411900
ΔE00 11.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310301 #012F31
analogous
#310117 #310301 #311B01
triadic
#310301 #013103 #030131
tetradic
#310301 #173101 #012F31 #1B0131
square
#310301 #173101 #012F31 #1B0131
split-complementary
#310301 #01311B #011731
monochromatic
#1E0201 #1E0201 #310301 #6D0702 #A90A03
Accessibility & contrast
On white
18.36
#310301 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#310301 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310301
18.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310301 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310301 | 1.00 | 18.36 | 1.14 | 18.36 |
| #FFFFFF | 18.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#110E01
Deuteranopia (green-blind)
#1D1800
Tritanopia (blue-blind)
#370003
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #310301; /* rgb */ color: rgb(49, 3, 1); /* oklch */ color: oklch(20.2% 0.076 30.5);
Tailwind
colors: {
custom: {
50: '#6d4847',
500: '#310301',
950: '#000000',
},
}SCSS
$custom: #310301; $custom-light: #6d4847; $custom-dark: #000000;
JSON
{
"hex": "#310301",
"rgb": {
"r": 49,
"g": 3,
"b": 1
},
"hsl": {
"h": 2.5,
"s": 96,
"l": 9.804
},
"oklch": {
"l": 0.20206,
"c": 0.07552,
"h": 30.5
},
"luminance": 0.0072
}Semantic roles & 50–950 ramp
primary
#310301
secondary
#177377
accent
#F6FF29
background
#F6F4F3
surface
#ECE6E5
border
#C7C2C1
text
#080000
muted
#7A7777