#310102#310102
#310102 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.9% C 0.078 H 26.8°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).
Color values
| HEX | #310102 |
|---|---|
| RGB | rgb(49, 1, 2) |
| HSL | hsl(359, 96%, 10%) |
| HSV | hsv(359, 98%, 19%) |
| CMYK | cmyk(0%, 98%, 95.9%, 80.8%) |
| CIE-LAB | lab(6.14, 23.81, 8.85) |
| CIE-LCH | lch(6.14, 25.40, 20.40°) |
| OKLab | oklab(19.89% 0.07 0.0353) |
| OKLCH | oklch(19.89% 0.078 26.8) |
| XYZ | xyz(1.2886, 0.6793, 0.1207) |
| Luminance | 0.0068 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 2.97
Deep Brown
#410200
ΔE00 5.31
Mahogany
#4A0100
ΔE00 7.64
Dried Blood
#4B0101
ΔE00 7.76
Very Dark Brown
#1D0200
ΔE00 9.66
Burgundy (survey)
#610023
ΔE00 10.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310102 #013130
analogous
#31011A #310102 #311801
triadic
#310102 #023101 #010231
tetradic
#310102 #1A3101 #013130 #180131
square
#310102 #1A3101 #013130 #180131
split-complementary
#310102 #013118 #011A31
monochromatic
#1E0101 #1E0101 #310102 #6D0204 #A90307
Accessibility & contrast
On white
18.49
#310102 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#310102 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310102
18.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310102 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310102 | 1.00 | 18.49 | 1.14 | 18.49 |
| #FFFFFF | 18.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F0C02
Deuteranopia (green-blind)
#1C1701
Tritanopia (blue-blind)
#370002
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #310102; /* rgb */ color: rgb(49, 1, 2); /* oklch */ color: oklch(19.9% 0.078 26.8);
Tailwind
colors: {
custom: {
50: '#6d4647',
500: '#310102',
950: '#000000',
},
}SCSS
$custom: #310102; $custom-light: #6d4647; $custom-dark: #000000;
JSON
{
"hex": "#310102",
"rgb": {
"r": 49,
"g": 1,
"b": 2
},
"hsl": {
"h": 358.75,
"s": 96,
"l": 9.804
},
"oklch": {
"l": 0.19891,
"c": 0.07836,
"h": 26.8
},
"luminance": 0.00679
}Semantic roles & 50–950 ramp
primary
#310102
secondary
#177775
accent
#FFFB29
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#080000
muted
#7A7777