#34021D#34021D

#34021D is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.084 H 353.0°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#34021D
RGBrgb(52, 2, 29)
HSLhsl(328, 93%, 11%)
HSVhsv(328, 96%, 20%)
CMYKcmyk(0%, 96.2%, 44.2%, 79.6%)
CIE-LABlab(7.79, 27.18, -3.99)
CIE-LCHlch(7.79, 27.47, 351.64°)
OKLaboklab(21.63% 0.0837 -0.0102)
OKLCHoklch(21.63% 0.084 353)
XYZxyz(1.6598, 0.8624, 1.2412)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34021D #023419
analogous
#320234 #34021D #340204
triadic
#34021D #1D3402 #021D34
tetradic
#34021D #343202 #023419 #020434
square
#34021D #343202 #023419 #020434
split-complementary
#34021D #043402 #023432
monochromatic
#1D0110 #1D0110 #34021D #6F043E #AA075F

Accessibility & contrast

On white

17.91
#34021D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34021D
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34021D#FFFFFF#000000##FFFFFF
##34021D1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111E
Deuteranopia (green-blind)
#1A1A1C
Tritanopia (blue-blind)
#39000E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #34021d;
/* rgb */ color: rgb(52, 2, 29);
/* oklch */ color: oklch(21.6% 0.084 353.0);
Tailwind
colors: {
  custom: {
    50: '#6f4858',
    500: '#34021d',
    950: '#000000',
  },
}
SCSS
$custom: #34021d;
$custom-light: #6f4858;
$custom-dark: #000000;
JSON
{
  "hex": "#34021d",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 29
  },
  "hsl": {
    "h": 327.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21627,
    "c": 0.08436,
    "h": 353
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#34021D
secondary
#1A7845
accent
#FF8B29
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #34021D

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

Preview Lab → · Contrast checker → · Palette generator →

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