#34050C#34050C

#34050C is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.5% C 0.074 H 17.5°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#34050C
RGBrgb(52, 5, 12)
HSLhsl(351, 82%, 11%)
HSVhsv(351, 90%, 20%)
CMYKcmyk(0%, 90.4%, 76.9%, 79.6%)
CIE-LABlab(7.82, 23.78, 7.27)
CIE-LCHlch(7.82, 24.87, 17.00°)
OKLaboklab(21.46% 0.0708 0.0223)
OKLCHoklch(21.46% 0.074 17.5)
XYZxyz(1.5370, 0.8654, 0.4339)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34050C #05342D
analogous
#340523 #34050C #341505
triadic
#34050C #0C3405 #050C34
tetradic
#34050C #233405 #05342D #150534
square
#34050C #233405 #05342D #150534
split-complementary
#34050C #053415 #052334
monochromatic
#1C0306 #1C0306 #34050C #6C0A19 #A41026

Accessibility & contrast

On white

17.90
#34050C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#34050C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34050C
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34050C#FFFFFF#000000##FFFFFF
##34050C1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12110C
Deuteranopia (green-blind)
#1E1B0B
Tritanopia (blue-blind)
#3A0008
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #34050c;
/* rgb */ color: rgb(52, 5, 12);
/* oklch */ color: oklch(21.5% 0.074 17.5);
Tailwind
colors: {
  custom: {
    50: '#6f494c',
    500: '#34050c',
    950: '#000000',
  },
}
SCSS
$custom: #34050c;
$custom-light: #6f494c;
$custom-dark: #000000;
JSON
{
  "hex": "#34050c",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 12
  },
  "hsl": {
    "h": 351.064,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21461,
    "c": 0.07424,
    "h": 17.5
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#34050C
secondary
#1F7569
accent
#F9DB2F
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #34050C

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

Preview Lab → · Contrast checker → · Palette generator →

#34050C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva