#310306#310306
#310306 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.3% C 0.074 H 22.6°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).
Color values
| HEX | #310306 |
|---|---|
| RGB | rgb(49, 3, 6) |
| HSL | hsl(356, 88%, 10%) |
| HSV | hsv(356, 94%, 19%) |
| CMYK | cmyk(0%, 93.9%, 87.8%, 80.8%) |
| CIE-LAB | lab(6.61, 23.11, 7.91) |
| CIE-LCH | lch(6.61, 24.42, 18.90°) |
| OKLab | oklab(20.33% 0.0686 0.0285) |
| OKLCH | oklch(20.33% 0.074 22.6) |
| XYZ | xyz(1.3322, 0.7315, 0.2433) |
| Luminance | 0.0073 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.26
Deep Brown
#410200
ΔE00 5.77
Mahogany
#4A0100
ΔE00 8.08
Dried Blood
#4B0101
ΔE00 8.18
Very Dark Brown
#1D0200
ΔE00 9.36
Burgundy (survey)
#610023
ΔE00 10.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310306 #03312E
analogous
#31031D #310306 #311703
triadic
#310306 #063103 #030631
tetradic
#310306 #1D3103 #03312E #170331
square
#310306 #1D3103 #03312E #170331
split-complementary
#310306 #033117 #031D31
monochromatic
#1D0204 #1D0204 #310306 #6B070D #A40A14
Accessibility & contrast
On white
18.32
#310306 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#310306 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310306
18.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310306 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310306 | 1.00 | 18.32 | 1.15 | 18.32 |
| #FFFFFF | 18.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#100E06
Deuteranopia (green-blind)
#1C1805
Tritanopia (blue-blind)
#370004
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #310306; /* rgb */ color: rgb(49, 3, 6); /* oklch */ color: oklch(20.3% 0.074 22.6);
Tailwind
colors: {
custom: {
50: '#6d4849',
500: '#310306',
950: '#000000',
},
}SCSS
$custom: #310306; $custom-light: #6d4849; $custom-dark: #000000;
JSON
{
"hex": "#310306",
"rgb": {
"r": 49,
"g": 3,
"b": 6
},
"hsl": {
"h": 356.087,
"s": 88.462,
"l": 10.196
},
"oklch": {
"l": 0.20326,
"c": 0.07426,
"h": 22.6
},
"luminance": 0.00731
}Semantic roles & 50–950 ramp
primary
#310306
secondary
#1B746F
accent
#FFF129
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777