#310107#310107
#310107 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.0% C 0.078 H 19.2°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).
Color values
| HEX | #310107 |
|---|---|
| RGB | rgb(49, 1, 7) |
| HSL | hsl(353, 96%, 10%) |
| HSV | hsv(353, 98%, 19%) |
| CMYK | cmyk(0%, 98%, 85.7%, 80.8%) |
| CIE-LAB | lab(6.23, 24.22, 6.96) |
| CIE-LCH | lch(6.23, 25.20, 16.03°) |
| OKLab | oklab(20.02% 0.0733 0.0256) |
| OKLCH | oklch(20.02% 0.078 19.2) |
| XYZ | xyz(1.3160, 0.6902, 0.2649) |
| Luminance | 0.0069 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.29
Deep Brown
#410200
ΔE00 6.32
Mahogany
#4A0100
ΔE00 8.60
Dried Blood
#4B0101
ΔE00 8.69
Very Dark Brown
#1D0200
ΔE00 9.83
Burgundy (survey)
#610023
ΔE00 10.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310107 #01312B
analogous
#31011F #310107 #311301
triadic
#310107 #073101 #010731
tetradic
#310107 #1F3101 #01312B #130131
square
#310107 #1F3101 #01312B #130131
split-complementary
#310107 #013113 #011F31
monochromatic
#1E0104 #1E0104 #310107 #6D0210 #A90318
Accessibility & contrast
On white
18.45
#310107 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#310107 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310107
18.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310107 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310107 | 1.00 | 18.45 | 1.14 | 18.45 |
| #FFFFFF | 18.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E0D07
Deuteranopia (green-blind)
#1B1806
Tritanopia (blue-blind)
#370003
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #310107; /* rgb */ color: rgb(49, 1, 7); /* oklch */ color: oklch(20.0% 0.078 19.2);
Tailwind
colors: {
custom: {
50: '#6d474a',
500: '#310107',
950: '#000000',
},
}SCSS
$custom: #310107; $custom-light: #6d474a; $custom-dark: #000000;
JSON
{
"hex": "#310107",
"rgb": {
"r": 49,
"g": 1,
"b": 7
},
"hsl": {
"h": 352.5,
"s": 96,
"l": 9.804
},
"oklch": {
"l": 0.20015,
"c": 0.07765,
"h": 19.2
},
"luminance": 0.0069
}Semantic roles & 50–950 ramp
primary
#310107
secondary
#17776B
accent
#FFE429
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#080001
muted
#7A7777