#340B15#340B15
#340B15 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.6% C 0.066 H 9.5°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).
Color values
| HEX | #340B15 |
|---|---|
| RGB | rgb(52, 11, 21) |
| HSL | hsl(345, 65%, 12%) |
| HSV | hsv(345, 79%, 20%) |
| CMYK | cmyk(0%, 78.8%, 59.6%, 79.6%) |
| CIE-LAB | lab(9.19, 21.45, 4.13) |
| CIE-LCH | lch(9.19, 21.84, 10.89°) |
| OKLab | oklab(22.56% 0.0651 0.0109) |
| OKLCH | oklch(22.56% 0.066 9.5) |
| XYZ | xyz(1.6713, 1.0238, 0.8189) |
| Luminance | 0.0102 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.10
Deep Brown
#410200
ΔE00 7.90
Very Dark Brown
#1D0200
ΔE00 9.19
Mahogany
#4A0100
ΔE00 9.99
Dark Plum
#3F012C
ΔE00 10.05
Dried Blood
#4B0101
ΔE00 10.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#340B15 #0B342A
analogous
#340B2A #340B15 #34160B
triadic
#340B15 #15340B #0B1534
tetradic
#340B15 #2A340B #0B342A #160B34
square
#340B15 #2A340B #0B342A #160B34
split-complementary
#340B15 #0B3416 #0B2A34
monochromatic
#19050A #19050A #340B15 #671629 #99203E
Accessibility & contrast
On white
17.43
#340B15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#340B15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #340B15
17.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##340B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##340B15 | 1.00 | 17.43 | 1.20 | 17.43 |
| #FFFFFF | 17.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#141515
Deuteranopia (green-blind)
#1F1D14
Tritanopia (blue-blind)
#39050F
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #340b15; /* rgb */ color: rgb(52, 11, 21); /* oklch */ color: oklch(22.6% 0.066 9.5);
Tailwind
colors: {
custom: {
50: '#6f4d52',
500: '#340b15',
950: '#000000',
},
}SCSS
$custom: #340b15; $custom-light: #6f4d52; $custom-dark: #000000;
JSON
{
"hex": "#340b15",
"rgb": {
"r": 52,
"g": 11,
"b": 21
},
"hsl": {
"h": 345.366,
"s": 65.079,
"l": 12.353
},
"oklch": {
"l": 0.22557,
"c": 0.06604,
"h": 9.5
},
"luminance": 0.01024
}Semantic roles & 50–950 ramp
primary
#340B15
secondary
#2A715F
accent
#E8BF40
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778