#34020A#34020A

#34020A is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.0% C 0.079 H 17.4°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#34020A
RGBrgb(52, 2, 10)
HSLhsl(350, 93%, 11%)
HSVhsv(350, 96%, 20%)
CMYKcmyk(0%, 96.2%, 80.8%, 79.6%)
CIE-LABlab(7.19, 25.27, 7.21)
CIE-LCHlch(7.19, 26.28, 15.93°)
OKLaboklab(20.96% 0.0755 0.0237)
OKLCHoklch(20.96% 0.079 17.4)
XYZxyz(1.4928, 0.7956, 0.3621)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34020A #02342C
analogous
#340223 #34020A #341302
triadic
#34020A #0A3402 #020A34
tetradic
#34020A #233402 #02342C #130234
square
#34020A #233402 #02342C #130234
split-complementary
#34020A #023413 #022334
monochromatic
#1D0106 #1D0106 #34020A #6F0415 #AA0721

Accessibility & contrast

On white

18.12
#34020A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#34020A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34020A
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34020A#FFFFFF#000000##FFFFFF
##34020A1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0A
Deuteranopia (green-blind)
#1D1A08
Tritanopia (blue-blind)
#3A0005
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #34020a;
/* rgb */ color: rgb(52, 2, 10);
/* oklch */ color: oklch(21.0% 0.079 17.4);
Tailwind
colors: {
  custom: {
    50: '#70484b',
    500: '#34020a',
    950: '#000000',
  },
}
SCSS
$custom: #34020a;
$custom-light: #70484b;
$custom-dark: #000000;
JSON
{
  "hex": "#34020a",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 10
  },
  "hsl": {
    "h": 350.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20961,
    "c": 0.07907,
    "h": 17.4
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#34020A
secondary
#1A7869
accent
#FFDD29
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080001
muted
#7B7777

Preview Lab

Preview with #34020A

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

Preview Lab → · Contrast checker → · Palette generator →

#34020A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva