#340D0F#340D0F
#340D0F is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.7% C 0.063 H 20.7°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).
Color values
| HEX | #340D0F |
|---|---|
| RGB | rgb(52, 13, 15) |
| HSL | hsl(357, 60%, 13%) |
| HSV | hsv(357, 75%, 20%) |
| CMYK | cmyk(0%, 75%, 71.2%, 79.6%) |
| CIE-LAB | lab(9.42, 19.80, 8.12) |
| CIE-LCH | lch(9.42, 21.39, 22.30°) |
| OKLab | oklab(22.68% 0.0588 0.0222) |
| OKLCH | oklch(22.68% 0.063 20.7) |
| XYZ | xyz(1.6465, 1.0526, 0.5683) |
| Luminance | 0.0105 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 4.63
Deep Brown
#410200
ΔE00 5.93
Mahogany
#4A0100
ΔE00 8.00
Dried Blood
#4B0101
ΔE00 8.11
Very Dark Brown
#1D0200
ΔE00 8.39
Chocolate Brown
#411900
ΔE00 10.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#340D0F #0D3432
analogous
#340D22 #340D0F #341E0D
triadic
#340D0F #0F340D #0D0F34
tetradic
#340D0F #22340D #0D3432 #1E0D34
square
#340D0F #22340D #0D3432 #1E0D34
split-complementary
#340D0F #0D341E #0D2234
monochromatic
#180607 #180607 #340D0F #65191D #96252B
Accessibility & contrast
On white
17.35
#340D0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#340D0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #340D0F
17.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##340D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##340D0F | 1.00 | 17.35 | 1.21 | 17.35 |
| #FFFFFF | 17.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17150F
Deuteranopia (green-blind)
#211D0E
Tritanopia (blue-blind)
#3A060E
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #340d0f; /* rgb */ color: rgb(52, 13, 15); /* oklch */ color: oklch(22.7% 0.063 20.7);
Tailwind
colors: {
custom: {
50: '#6f4e4e',
500: '#340d0f',
950: '#000000',
},
}SCSS
$custom: #340d0f; $custom-light: #6f4e4e; $custom-dark: #000000;
JSON
{
"hex": "#340d0f",
"rgb": {
"r": 52,
"g": 13,
"b": 15
},
"hsl": {
"h": 356.923,
"s": 60,
"l": 12.745
},
"oklch": {
"l": 0.2268,
"c": 0.06283,
"h": 20.7
},
"luminance": 0.01052
}Semantic roles & 50–950 ramp
primary
#340D0F
secondary
#2D6F6C
accent
#E3DB45
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777