#34070B#34070B

#34070B is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.7% C 0.071 H 20.5°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#34070B
RGBrgb(52, 7, 11)
HSLhsl(355, 76%, 12%)
HSVhsv(355, 87%, 20%)
CMYKcmyk(0%, 86.5%, 78.8%, 79.6%)
CIE-LABlab(8.19, 22.62, 8.25)
CIE-LCHlch(8.19, 24.08, 20.05°)
OKLaboklab(21.73% 0.0668 0.025)
OKLCHoklch(21.73% 0.071 20.5)
XYZxyz(1.5527, 0.9064, 0.4097)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34070B #073430
analogous
#340722 #34070B #341A07
triadic
#34070B #0B3407 #070B34
tetradic
#34070B #223407 #073430 #1A0734
square
#34070B #223407 #073430 #1A0734
split-complementary
#34070B #07341A #072234
monochromatic
#1B0406 #1B0406 #34070B #6A0E16 #A01622

Accessibility & contrast

On white

17.78
#34070B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#34070B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34070B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34070B#FFFFFF#000000##FFFFFF
##34070B1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14120B
Deuteranopia (green-blind)
#1F1B0A
Tritanopia (blue-blind)
#3A0009
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #34070b;
/* rgb */ color: rgb(52, 7, 11);
/* oklch */ color: oklch(21.7% 0.071 20.5);
Tailwind
colors: {
  custom: {
    50: '#6f4a4b',
    500: '#34070b',
    950: '#000000',
  },
}
SCSS
$custom: #34070b;
$custom-light: #6f4a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#34070b",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 11
  },
  "hsl": {
    "h": 354.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21729,
    "c": 0.07132,
    "h": 20.5
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#34070B
secondary
#23746D
accent
#F3E235
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #34070B

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

Preview Lab → · Contrast checker → · Palette generator →

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