#34070F#34070F

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

Color values

HEX#34070F
RGBrgb(52, 7, 15)
HSLhsl(349, 76%, 12%)
HSVhsv(349, 87%, 20%)
CMYKcmyk(0%, 86.5%, 71.2%, 79.6%)
CIE-LABlab(8.28, 22.92, 6.47)
CIE-LCHlch(8.28, 23.82, 15.75°)
OKLaboklab(21.83% 0.0688 0.0187)
OKLCHoklch(21.83% 0.071 15.2)
XYZxyz(1.5785, 0.9167, 0.5457)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34070F #07342C
analogous
#340726 #34070F #341607
triadic
#34070F #0F3407 #070F34
tetradic
#34070F #263407 #07342C #160734
square
#34070F #263407 #07342C #160734
split-complementary
#34070F #073416 #072634
monochromatic
#1B0408 #1B0408 #34070F #6A0E1F #A0162E

Accessibility & contrast

On white

17.75
#34070F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34070F
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34070F#FFFFFF#000000##FFFFFF
##34070F1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13120F
Deuteranopia (green-blind)
#1F1B0E
Tritanopia (blue-blind)
#3A000A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #34070f;
/* rgb */ color: rgb(52, 7, 15);
/* oklch */ color: oklch(21.8% 0.071 15.2);
Tailwind
colors: {
  custom: {
    50: '#6f4b4e',
    500: '#34070f',
    950: '#000000',
  },
}
SCSS
$custom: #34070f;
$custom-light: #6f4b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#34070f",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 15
  },
  "hsl": {
    "h": 349.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21826,
    "c": 0.07126,
    "h": 15.2
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#34070F
secondary
#237465
accent
#F3D135
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #34070F

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

Preview Lab → · Contrast checker → · Palette generator →

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