#340F18#340F18
#340F18 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 23.3% C 0.060 H 8.0°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).
Color values
| HEX | #340F18 |
|---|---|
| RGB | rgb(52, 15, 24) |
| HSL | hsl(345, 55%, 13%) |
| HSV | hsv(345, 71%, 20%) |
| CMYK | cmyk(0%, 71.2%, 53.8%, 79.6%) |
| CIE-LAB | lab(10.09, 19.62, 3.22) |
| CIE-LCH | lch(10.09, 19.88, 9.33°) |
| OKLab | oklab(23.26% 0.0596 0.0084) |
| OKLCH | oklch(23.26% 0.06 8) |
| XYZ | xyz(1.7520, 1.1379, 0.9913) |
| Luminance | 0.0114 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.23
Very Dark Brown
#1D0200
ΔE00 8.64
Deep Brown
#410200
ΔE00 8.74
Dark Plum
#3F012C
ΔE00 10.05
Mahogany
#4A0100
ΔE00 10.75
Dried Blood
#4B0101
ΔE00 10.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#340F18 #0F342B
analogous
#340F2A #340F18 #34180F
triadic
#340F18 #18340F #0F1834
tetradic
#340F18 #2A340F #0F342B #180F34
square
#340F18 #2A340F #0F342B #180F34
split-complementary
#340F18 #0F3418 #0F2A34
monochromatic
#18070B #18070B #340F18 #631D2E #932A44
Accessibility & contrast
On white
17.11
#340F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#340F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #340F18
17.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##340F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##340F18 | 1.00 | 17.11 | 1.23 | 17.11 |
| #FFFFFF | 17.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#171718
Deuteranopia (green-blind)
#201E17
Tritanopia (blue-blind)
#390A12
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #340f18; /* rgb */ color: rgb(52, 15, 24); /* oklch */ color: oklch(23.3% 0.060 8.0);
Tailwind
colors: {
custom: {
50: '#6e4f54',
500: '#340f18',
950: '#000000',
},
}SCSS
$custom: #340f18; $custom-light: #6e4f54; $custom-dark: #000000;
JSON
{
"hex": "#340f18",
"rgb": {
"r": 52,
"g": 15,
"b": 24
},
"hsl": {
"h": 345.405,
"s": 55.224,
"l": 13.137
},
"oklch": {
"l": 0.23261,
"c": 0.06023,
"h": 8
},
"luminance": 0.01138
}Semantic roles & 50–950 ramp
primary
#340F18
secondary
#316E5F
accent
#DFBA49
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070202
muted
#7A7878