#34040B#34040B

#34040B is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.3% C 0.076 H 17.9°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#34040B
RGBrgb(52, 4, 11)
HSLhsl(351, 86%, 11%)
HSVhsv(351, 92%, 20%)
CMYKcmyk(0%, 92.3%, 78.8%, 79.6%)
CIE-LABlab(7.60, 24.26, 7.40)
CIE-LCHlch(7.60, 25.36, 16.96°)
OKLaboklab(21.29% 0.0721 0.0233)
OKLCHoklch(21.29% 0.076 17.9)
XYZxyz(1.5202, 0.8413, 0.3989)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34040B #04342D
analogous
#340423 #34040B #341504
triadic
#34040B #0B3404 #040B34
tetradic
#34040B #233404 #04342D #150434
square
#34040B #233404 #04342D #150434
split-complementary
#34040B #043415 #042334
monochromatic
#1C0206 #1C0206 #34040B #6D0817 #A60D23

Accessibility & contrast

On white

17.98
#34040B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#34040B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34040B
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34040B#FFFFFF#000000##FFFFFF
##34040B1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100B
Deuteranopia (green-blind)
#1E1A0A
Tritanopia (blue-blind)
#3A0007
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #34040b;
/* rgb */ color: rgb(52, 4, 11);
/* oklch */ color: oklch(21.3% 0.076 17.9);
Tailwind
colors: {
  custom: {
    50: '#70494b',
    500: '#34040b',
    950: '#000000',
  },
}
SCSS
$custom: #34040b;
$custom-light: #70494b;
$custom-dark: #000000;
JSON
{
  "hex": "#34040b",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 351.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21289,
    "c": 0.07581,
    "h": 17.9
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#34040B
secondary
#1E7669
accent
#FCDE2C
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #34040B

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

Preview Lab → · Contrast checker → · Palette generator →

#34040B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva