#34021B#34021B

#34021B is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.083 H 355.6°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#34021B
RGBrgb(52, 2, 27)
HSLhsl(330, 93%, 11%)
HSVhsv(330, 96%, 20%)
CMYKcmyk(0%, 96.2%, 48.1%, 79.6%)
CIE-LABlab(7.70, 26.92, -2.57)
CIE-LCHlch(7.70, 27.05, 354.56°)
OKLaboklab(21.53% 0.0831 -0.0064)
OKLCHoklch(21.53% 0.083 355.6)
XYZxyz(1.6358, 0.8528, 1.1152)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34021B #02341B
analogous
#340234 #34021B #340202
triadic
#34021B #1B3402 #021B34
tetradic
#34021B #343402 #02341B #020234
square
#34021B #343402 #02341B #020234
split-complementary
#34021B #023402 #023434
monochromatic
#1D010F #1D010F #34021B #6F043A #AA0758

Accessibility & contrast

On white

17.94
#34021B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34021B
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34021B#FFFFFF#000000##FFFFFF
##34021B1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111C
Deuteranopia (green-blind)
#1A1A1A
Tritanopia (blue-blind)
#39000D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #34021b;
/* rgb */ color: rgb(52, 2, 27);
/* oklch */ color: oklch(21.5% 0.083 355.6);
Tailwind
colors: {
  custom: {
    50: '#6f4857',
    500: '#34021b',
    950: '#000000',
  },
}
SCSS
$custom: #34021b;
$custom-light: #6f4857;
$custom-dark: #000000;
JSON
{
  "hex": "#34021b",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 27
  },
  "hsl": {
    "h": 330,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21534,
    "c": 0.08331,
    "h": 355.6
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#34021B
secondary
#1A7849
accent
#FF9429
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #34021B

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

Preview Lab → · Contrast checker → · Palette generator →

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