#34022B#34022B

#34022B is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.4% C 0.094 H 336.9°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#34022B
RGBrgb(52, 2, 43)
HSLhsl(311, 93%, 11%)
HSVhsv(311, 96%, 20%)
CMYKcmyk(0%, 96.2%, 17.3%, 79.6%)
CIE-LABlab(8.55, 29.25, -13.51)
CIE-LCHlch(8.55, 32.22, 335.22°)
OKLaboklab(22.42% 0.0864 -0.0369)
OKLCHoklch(22.42% 0.094 336.9)
XYZxyz(1.8740, 0.9481, 2.3693)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34022B #02340B
analogous
#240234 #34022B #340212
triadic
#34022B #2B3402 #022B34
tetradic
#34022B #342402 #02340B #021234
square
#34022B #342402 #02340B #021234
split-complementary
#34022B #123402 #023424
monochromatic
#1D0118 #1D0118 #34022B #6F045C #AA078C

Accessibility & contrast

On white

17.65
#34022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#34022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34022B
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34022B#FFFFFF#000000##FFFFFF
##34022B1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142C
Deuteranopia (green-blind)
#151B2A
Tritanopia (blue-blind)
#370516
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #34022b;
/* rgb */ color: rgb(52, 2, 43);
/* oklch */ color: oklch(22.4% 0.094 336.9);
Tailwind
colors: {
  custom: {
    50: '#6e4964',
    500: '#34022b',
    950: '#000000',
  },
}
SCSS
$custom: #34022b;
$custom-light: #6e4964;
$custom-dark: #000000;
JSON
{
  "hex": "#34022b",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 310.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22423,
    "c": 0.09394,
    "h": 336.9
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#34022B
secondary
#1A782B
accent
#FF4F29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #34022B

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

Preview Lab → · Contrast checker → · Palette generator →

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