#34020D#34020D

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

Color values

HEX#34020D
RGBrgb(52, 2, 13)
HSLhsl(347, 93%, 11%)
HSVhsv(347, 96%, 20%)
CMYKcmyk(0%, 96.2%, 75%, 79.6%)
CIE-LABlab(7.25, 25.49, 5.98)
CIE-LCHlch(7.25, 26.18, 13.20°)
OKLaboklab(21.03% 0.0769 0.0189)
OKLCHoklch(21.03% 0.079 13.8)
XYZxyz(1.5107, 0.8028, 0.4561)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34020D #023429
analogous
#340226 #34020D #341002
triadic
#34020D #0D3402 #020D34
tetradic
#34020D #263402 #023429 #100234
square
#34020D #263402 #023429 #100234
split-complementary
#34020D #023410 #022634
monochromatic
#1D0107 #1D0107 #34020D #6F041C #AA072A

Accessibility & contrast

On white

18.09
#34020D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34020D
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34020D#FFFFFF#000000##FFFFFF
##34020D1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0D
Deuteranopia (green-blind)
#1D1A0C
Tritanopia (blue-blind)
#3A0006
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #34020d;
/* rgb */ color: rgb(52, 2, 13);
/* oklch */ color: oklch(21.0% 0.079 13.8);
Tailwind
colors: {
  custom: {
    50: '#70484c',
    500: '#34020d',
    950: '#000000',
  },
}
SCSS
$custom: #34020d;
$custom-light: #70484c;
$custom-dark: #000000;
JSON
{
  "hex": "#34020d",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 13
  },
  "hsl": {
    "h": 346.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21034,
    "c": 0.0792,
    "h": 13.8
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#34020D
secondary
#1A7863
accent
#FFD029
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080001
muted
#7B7777

Preview Lab

Preview with #34020D

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

Preview Lab → · Contrast checker → · Palette generator →

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