#34021E#34021E

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

Color values

HEX#34021E
RGBrgb(52, 2, 30)
HSLhsl(326, 93%, 11%)
HSVhsv(326, 96%, 20%)
CMYKcmyk(0%, 96.2%, 42.3%, 79.6%)
CIE-LABlab(7.84, 27.31, -4.70)
CIE-LCHlch(7.84, 27.71, 350.23°)
OKLaboklab(21.68% 0.0841 -0.0122)
OKLCHoklch(21.68% 0.085 351.8)
XYZxyz(1.6723, 0.8674, 1.3074)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34021E #023418
analogous
#310234 #34021E #340205
triadic
#34021E #1E3402 #021E34
tetradic
#34021E #343102 #023418 #020534
square
#34021E #343102 #023418 #020534
split-complementary
#34021E #053402 #023431
monochromatic
#1D0111 #1D0111 #34021E #6F0440 #AA0762

Accessibility & contrast

On white

17.90
#34021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34021E
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34021E#FFFFFF#000000##FFFFFF
##34021E1.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)
#0B111F
Deuteranopia (green-blind)
#1A1A1D
Tritanopia (blue-blind)
#39000E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #34021e;
/* rgb */ color: rgb(52, 2, 30);
/* oklch */ color: oklch(21.7% 0.085 351.8);
Tailwind
colors: {
  custom: {
    50: '#6f4859',
    500: '#34021e',
    950: '#000000',
  },
}
SCSS
$custom: #34021e;
$custom-light: #6f4859;
$custom-dark: #000000;
JSON
{
  "hex": "#34021e",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 326.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21675,
    "c": 0.08493,
    "h": 351.8
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#34021E
secondary
#1A7843
accent
#FF8729
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #34021E

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

Preview Lab → · Contrast checker → · Palette generator →

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