#34022A#34022A

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

Color values

HEX#34022A
RGBrgb(52, 2, 42)
HSLhsl(312, 93%, 11%)
HSVhsv(312, 96%, 20%)
CMYKcmyk(0%, 96.2%, 19.2%, 79.6%)
CIE-LABlab(8.49, 29.09, -12.86)
CIE-LCHlch(8.49, 31.80, 336.15°)
OKLaboklab(22.36% 0.0863 -0.035)
OKLCHoklch(22.36% 0.093 337.9)
XYZxyz(1.8558, 0.9408, 2.2739)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34022A #02340C
analogous
#250234 #34022A #340211
triadic
#34022A #2A3402 #022A34
tetradic
#34022A #342502 #02340C #021134
square
#34022A #342502 #02340C #021134
split-complementary
#34022A #113402 #023425
monochromatic
#1D0118 #1D0118 #34022A #6F045A #AA0789

Accessibility & contrast

On white

17.67
#34022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34022A
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34022A#FFFFFF#000000##FFFFFF
##34022A1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04132B
Deuteranopia (green-blind)
#161B29
Tritanopia (blue-blind)
#380415
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #34022a;
/* rgb */ color: rgb(52, 2, 42);
/* oklch */ color: oklch(22.4% 0.093 337.9);
Tailwind
colors: {
  custom: {
    50: '#6e4963',
    500: '#34022a',
    950: '#000000',
  },
}
SCSS
$custom: #34022a;
$custom-light: #6e4963;
$custom-dark: #000000;
JSON
{
  "hex": "#34022a",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 312,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22358,
    "c": 0.09316,
    "h": 337.9
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#34022A
secondary
#1A782D
accent
#FF5429
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #34022A

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

Preview Lab → · Contrast checker → · Palette generator →

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