#340F0F#340F0F
#340F0F is a very dark, muted red. Relative luminance 0.011; OKLCH L 23.0% C 0.060 H 23.0°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).
Color values
| HEX | #340F0F |
|---|---|
| RGB | rgb(52, 15, 15) |
| HSL | hsl(0, 55%, 13%) |
| HSV | hsv(0, 71%, 20%) |
| CMYK | cmyk(0%, 71.2%, 71.2%, 79.6%) |
| CIE-LAB | lab(9.85, 18.66, 8.72) |
| CIE-LCH | lch(9.85, 20.60, 25.05°) |
| OKLab | oklab(23% 0.0552 0.0235) |
| OKLCH | oklch(23% 0.06 23) |
| XYZ | xyz(1.6734, 1.1064, 0.5773) |
| Luminance | 0.0111 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.32
Deep Brown
#410200
ΔE00 6.05
Mahogany
#4A0100
ΔE00 8.01
Very Dark Brown
#1D0200
ΔE00 8.04
Dried Blood
#4B0101
ΔE00 8.13
Chocolate Brown
#411900
ΔE00 9.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#340F0F #0F3434
analogous
#340F21 #340F0F #34210F
triadic
#340F0F #0F340F #0F0F34
tetradic
#340F0F #21340F #0F3434 #210F34
square
#340F0F #21340F #0F3434 #210F34
split-complementary
#340F0F #0F3421 #0F2134
monochromatic
#180707 #180707 #340F0F #631D1D #932A2A
Accessibility & contrast
On white
17.20
#340F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.22
#340F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #340F0F
17.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##340F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##340F0F | 1.00 | 17.20 | 1.22 | 17.20 |
| #FFFFFF | 17.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18160F
Deuteranopia (green-blind)
#221E0E
Tritanopia (blue-blind)
#3A080F
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #340f0f; /* rgb */ color: rgb(52, 15, 15); /* oklch */ color: oklch(23.0% 0.060 23.0);
Tailwind
colors: {
custom: {
50: '#6f4f4e',
500: '#340f0f',
950: '#000000',
},
}SCSS
$custom: #340f0f; $custom-light: #6f4f4e; $custom-dark: #000000;
JSON
{
"hex": "#340f0f",
"rgb": {
"r": 52,
"g": 15,
"b": 15
},
"hsl": {
"h": 0,
"s": 55.224,
"l": 13.137
},
"oklch": {
"l": 0.23,
"c": 0.05998,
"h": 23
},
"luminance": 0.01106
}Semantic roles & 50–950 ramp
primary
#340F0F
secondary
#316E6E
accent
#DFDF49
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080201
muted
#7B7877