#34040F#34040F

#34040F is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.4% C 0.076 H 12.8°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#34040F
RGBrgb(52, 4, 15)
HSLhsl(346, 86%, 11%)
HSVhsv(346, 92%, 20%)
CMYKcmyk(0%, 92.3%, 71.2%, 79.6%)
CIE-LABlab(7.69, 24.56, 5.61)
CIE-LCHlch(7.69, 25.20, 12.87°)
OKLaboklab(21.39% 0.0741 0.0169)
OKLCHoklch(21.39% 0.076 12.8)
XYZxyz(1.5460, 0.8516, 0.5348)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34040F #043429
analogous
#340427 #34040F #341104
triadic
#34040F #0F3404 #040F34
tetradic
#34040F #273404 #043429 #110434
square
#34040F #273404 #043429 #110434
split-complementary
#34040F #043411 #042734
monochromatic
#1C0208 #1C0208 #34040F #6D081F #A60D30

Accessibility & contrast

On white

17.95
#34040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34040F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34040F#FFFFFF#000000##FFFFFF
##34040F1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100F
Deuteranopia (green-blind)
#1D1B0E
Tritanopia (blue-blind)
#3A0008
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #34040f;
/* rgb */ color: rgb(52, 4, 15);
/* oklch */ color: oklch(21.4% 0.076 12.8);
Tailwind
colors: {
  custom: {
    50: '#6f494e',
    500: '#34040f',
    950: '#000000',
  },
}
SCSS
$custom: #34040f;
$custom-light: #6f494e;
$custom-dark: #000000;
JSON
{
  "hex": "#34040f",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 346.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21391,
    "c": 0.07598,
    "h": 12.8
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#34040F
secondary
#1E7662
accent
#FCCC2C
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #34040F

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

Preview Lab → · Contrast checker → · Palette generator →

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