#34071F#34071F

#34071F is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.4% C 0.076 H 352.3°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#34071F
RGBrgb(52, 7, 31)
HSLhsl(328, 76%, 12%)
HSVhsv(328, 87%, 20%)
CMYKcmyk(0%, 86.5%, 40.4%, 79.6%)
CIE-LABlab(8.83, 24.72, -3.97)
CIE-LCHlch(8.83, 25.04, 350.88°)
OKLaboklab(22.42% 0.0757 -0.0102)
OKLCHoklch(22.42% 0.076 352.3)
XYZxyz(1.7396, 0.9812, 1.3938)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34071F #07341C
analogous
#330734 #34071F #340709
triadic
#34071F #1F3407 #071F34
tetradic
#34071F #343307 #07341C #070934
square
#34071F #343307 #07341C #070934
split-complementary
#34071F #093407 #073433
monochromatic
#1B0410 #1B0410 #34071F #6A0E3F #A0165F

Accessibility & contrast

On white

17.56
#34071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#34071F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34071F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34071F#FFFFFF#000000##FFFFFF
##34071F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1420
Deuteranopia (green-blind)
#1C1C1E
Tritanopia (blue-blind)
#390411
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #34071f;
/* rgb */ color: rgb(52, 7, 31);
/* oklch */ color: oklch(22.4% 0.076 352.3);
Tailwind
colors: {
  custom: {
    50: '#6e4b5a',
    500: '#34071f',
    950: '#000000',
  },
}
SCSS
$custom: #34071f;
$custom-light: #6e4b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#34071f",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 328,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22417,
    "c": 0.07643,
    "h": 352.3
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#34071F
secondary
#237449
accent
#F38E35
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #34071F

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

Preview Lab → · Contrast checker → · Palette generator →

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