#34020E#34020E

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

Color values

HEX#34020E
RGBrgb(52, 2, 14)
HSLhsl(346, 93%, 11%)
HSVhsv(346, 96%, 20%)
CMYKcmyk(0%, 96.2%, 73.1%, 79.6%)
CIE-LABlab(7.28, 25.57, 5.52)
CIE-LCHlch(7.28, 26.16, 12.18°)
OKLaboklab(21.06% 0.0774 0.0173)
OKLCHoklch(21.06% 0.079 12.6)
XYZxyz(1.5173, 0.8054, 0.4909)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34020E #023428
analogous
#340227 #34020E #340F02
triadic
#34020E #0E3402 #020E34
tetradic
#34020E #273402 #023428 #0F0234
square
#34020E #273402 #023428 #0F0234
split-complementary
#34020E #02340F #022734
monochromatic
#1D0108 #1D0108 #34020E #6F041E #AA072E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34020E#FFFFFF#000000##FFFFFF
##34020E1.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)
#0F0F0E
Deuteranopia (green-blind)
#1D1A0D
Tritanopia (blue-blind)
#3A0006
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #34020e;
/* rgb */ color: rgb(52, 2, 14);
/* oklch */ color: oklch(21.1% 0.079 12.6);
Tailwind
colors: {
  custom: {
    50: '#70484d',
    500: '#34020e',
    950: '#000000',
  },
}
SCSS
$custom: #34020e;
$custom-light: #70484d;
$custom-dark: #000000;
JSON
{
  "hex": "#34020e",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 14
  },
  "hsl": {
    "h": 345.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21061,
    "c": 0.07929,
    "h": 12.6
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#34020E
secondary
#1A7861
accent
#FFCC29
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080001
muted
#7B7777

Preview Lab

Preview with #34020E

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

Preview Lab → · Contrast checker → · Palette generator →

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