#342A2A#342A2A
#342A2A is a dark, near-neutral red. Relative luminance 0.026; OKLCH L 29.6% C 0.015 H 18.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #342A2A |
|---|---|
| RGB | rgb(52, 42, 42) |
| HSL | hsl(0, 11%, 18%) |
| HSV | hsv(0, 19%, 20%) |
| CMYK | cmyk(0%, 19.2%, 19.2%, 79.6%) |
| CIE-LAB | lab(18.16, 4.61, 1.73) |
| CIE-LCH | lch(18.16, 4.92, 20.52°) |
| OKLab | oklab(29.62% 0.0141 0.0046) |
| OKLCH | oklch(29.62% 0.015 18) |
| XYZ | xyz(2.6620, 2.5532, 2.5426) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | neutral |
| Family | red |
Closest named colors
Dark Grey
#363737
ΔE00 7.67
Onyx
#353839
ΔE00 9.02
Espresso
#4B382A
ΔE00 9.49
Charcoal (survey)
#343837
ΔE00 9.88
Very Dark Brown
#1D0200
ΔE00 11.11
Charcoal Grey
#3C4142
ΔE00 11.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342A2A #2A3434
analogous
#342A2F #342A2A #342F2A
triadic
#342A2A #2A342A #2A2A34
tetradic
#342A2A #2F342A #2A3434 #2F2A34
square
#342A2A #2F342A #2A3434 #2F2A34
split-complementary
#342A2A #2A342F #2A2F34
monochromatic
#110E0E #120F0F #342A2A #564545 #786161
Accessibility & contrast
On white
13.90
#342A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#342A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342A2A
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342A2A | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2B2A
Deuteranopia (green-blind)
#2E2D2A
Tritanopia (blue-blind)
#36292A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #342a2a; /* rgb */ color: rgb(52, 42, 42); /* oklch */ color: oklch(29.6% 0.015 18.0);
Tailwind
colors: {
custom: {
50: '#6b6363',
500: '#342a2a',
950: '#000000',
},
}SCSS
$custom: #342a2a; $custom-light: #6b6363; $custom-dark: #000000;
JSON
{
"hex": "#342a2a",
"rgb": {
"r": 52,
"g": 42,
"b": 42
},
"hsl": {
"h": 0,
"s": 10.638,
"l": 18.431
},
"oklch": {
"l": 0.29621,
"c": 0.01486,
"h": 18
},
"luminance": 0.02553
}Semantic roles & 50–950 ramp
primary
#342A2A
secondary
#566464
accent
#B4B474
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#060505
muted
#7A7979