#330812#330812
#330812 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.8% C 0.069 H 11.3°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).
Color values
| HEX | #330812 |
|---|---|
| RGB | rgb(51, 8, 18) |
| HSL | hsl(346, 73%, 12%) |
| HSV | hsv(346, 84%, 20%) |
| CMYK | cmyk(0%, 84.3%, 64.7%, 80%) |
| CIE-LAB | lab(8.32, 22.28, 4.79) |
| CIE-LCH | lch(8.32, 22.79, 12.13°) |
| OKLab | oklab(21.84% 0.0675 0.0134) |
| OKLCH | oklch(21.84% 0.069 11.3) |
| XYZ | xyz(1.5614, 0.9214, 0.6678) |
| Luminance | 0.0092 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 4.52
Deep Brown
#410200
ΔE00 7.46
Very Dark Brown
#1D0200
ΔE00 9.34
Mahogany
#4A0100
ΔE00 9.61
Dried Blood
#4B0101
ΔE00 9.67
Dark Plum
#3F012C
ΔE00 10.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#330812 #083329
analogous
#330828 #330812 #331408
triadic
#330812 #123308 #081233
tetradic
#330812 #283308 #083329 #140833
square
#330812 #283308 #083329 #140833
split-complementary
#330812 #083314 #082833
monochromatic
#1A0409 #1A0409 #330812 #681025 #9D1937
Accessibility & contrast
On white
17.73
#330812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#330812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #330812
17.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##330812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##330812 | 1.00 | 17.73 | 1.18 | 17.73 |
| #FFFFFF | 17.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#131312
Deuteranopia (green-blind)
#1E1B11
Tritanopia (blue-blind)
#39020C
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #330812; /* rgb */ color: rgb(51, 8, 18); /* oklch */ color: oklch(21.8% 0.069 11.3);
Tailwind
colors: {
custom: {
50: '#6e4b4f',
500: '#330812',
950: '#000000',
},
}SCSS
$custom: #330812; $custom-light: #6e4b4f; $custom-dark: #000000;
JSON
{
"hex": "#330812",
"rgb": {
"r": 51,
"g": 8,
"b": 18
},
"hsl": {
"h": 346.047,
"s": 72.881,
"l": 11.569
},
"oklch": {
"l": 0.2184,
"c": 0.06878,
"h": 11.3
},
"luminance": 0.00921
}Semantic roles & 50–950 ramp
primary
#330812
secondary
#257260
accent
#F0C538
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778