#34021F#34021F

#34021F is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.086 H 350.5°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#34021F
RGBrgb(52, 2, 31)
HSLhsl(325, 93%, 11%)
HSVhsv(325, 96%, 20%)
CMYKcmyk(0%, 96.2%, 40.4%, 79.6%)
CIE-LABlab(7.88, 27.44, -5.41)
CIE-LCHlch(7.88, 27.97, 348.86°)
OKLaboklab(21.73% 0.0843 -0.0141)
OKLCHoklch(21.73% 0.086 350.5)
XYZxyz(1.6853, 0.8726, 1.3757)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34021F #023417
analogous
#300234 #34021F #340206
triadic
#34021F #1F3402 #021F34
tetradic
#34021F #343002 #023417 #020634
square
#34021F #343002 #023417 #020634
split-complementary
#34021F #063402 #023430
monochromatic
#1D0112 #1D0112 #34021F #6F0442 #AA0765

Accessibility & contrast

On white

17.88
#34021F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34021F
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34021F#FFFFFF#000000##FFFFFF
##34021F1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1120
Deuteranopia (green-blind)
#191B1E
Tritanopia (blue-blind)
#39000F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #34021f;
/* rgb */ color: rgb(52, 2, 31);
/* oklch */ color: oklch(21.7% 0.086 350.5);
Tailwind
colors: {
  custom: {
    50: '#6f485a',
    500: '#34021f',
    950: '#000000',
  },
}
SCSS
$custom: #34021f;
$custom-light: #6f485a;
$custom-dark: #000000;
JSON
{
  "hex": "#34021f",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 31
  },
  "hsl": {
    "h": 325.2,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21725,
    "c": 0.08551,
    "h": 350.5
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#34021F
secondary
#1A7841
accent
#FF8329
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #34021F

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

Preview Lab → · Contrast checker → · Palette generator →

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