#342222#342222

#342222 is a dark, muted red. Relative luminance 0.020; OKLCH L 27.4% C 0.028 H 19.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#342222
RGBrgb(52, 34, 34)
HSLhsl(0, 21%, 17%)
HSVhsv(0, 35%, 20%)
CMYKcmyk(0%, 34.6%, 34.6%, 79.6%)
CIE-LABlab(15.43, 8.65, 3.46)
CIE-LCHlch(15.43, 9.32, 21.81°)
OKLaboklab(27.43% 0.0263 0.0091)
OKLCHoklch(27.43% 0.028 19)
XYZxyz(2.2770, 1.9897, 1.7772)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342222 #223434
analogous
#34222B #342222 #342B22
triadic
#342222 #223422 #222234
tetradic
#342222 #2B3422 #223434 #2B2234
square
#342222 #2B3422 #223434 #2B2234
split-complementary
#342222 #22342B #222B34
monochromatic
#130C0C #130C0C #342222 #593A3A #7E5252

Accessibility & contrast

On white

15.02
#342222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#342222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342222
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342222#FFFFFF#000000##FFFFFF
##3422221.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252522
Deuteranopia (green-blind)
#2A2822
Tritanopia (blue-blind)
#382022
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #342222;
/* rgb */ color: rgb(52, 34, 34);
/* oklch */ color: oklch(27.4% 0.028 19.0);
Tailwind
colors: {
  custom: {
    50: '#6c5d5c',
    500: '#342222',
    950: '#000000',
  },
}
SCSS
$custom: #342222;
$custom-light: #6c5d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#342222",
  "rgb": {
    "r": 52,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 20.93,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27427,
    "c": 0.02785,
    "h": 19
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#342222
secondary
#4C6666
accent
#BDBD6A
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070404
muted
#7A7979

Preview Lab

Preview with #342222

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#342222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva