#34012A#34012A

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

Color values

HEX#34012A
RGBrgb(52, 1, 42)
HSLhsl(312, 96%, 10%)
HSVhsv(312, 98%, 20%)
CMYKcmyk(0%, 98.1%, 19.2%, 79.6%)
CIE-LABlab(8.30, 29.64, -13.15)
CIE-LCHlch(8.30, 32.43, 336.07°)
OKLaboklab(22.22% 0.088 -0.0358)
OKLCHoklch(22.22% 0.095 337.9)
XYZxyz(1.8450, 0.9191, 2.2703)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34012A #01340B
analogous
#240134 #34012A #340110
triadic
#34012A #2A3401 #012A34
tetradic
#34012A #342401 #01340B #011034
square
#34012A #342401 #01340B #011034
split-complementary
#34012A #103401 #013424
monochromatic
#1E0118 #1E0118 #34012A #70025A #AC038B

Accessibility & contrast

On white

17.74
#34012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#34012A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34012A
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34012A#FFFFFF#000000##FFFFFF
##34012A1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132B
Deuteranopia (green-blind)
#151B29
Tritanopia (blue-blind)
#380315
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #34012a;
/* rgb */ color: rgb(52, 1, 42);
/* oklch */ color: oklch(22.2% 0.095 337.9);
Tailwind
colors: {
  custom: {
    50: '#6e4863',
    500: '#34012a',
    950: '#000000',
  },
}
SCSS
$custom: #34012a;
$custom-light: #6e4863;
$custom-dark: #000000;
JSON
{
  "hex": "#34012a",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 311.765,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22223,
    "c": 0.09503,
    "h": 337.9
  },
  "luminance": 0.00919
}

Semantic roles & 50–950 ramp

primary
#34012A
secondary
#18792B
accent
#FF5329
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #34012A

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

Preview Lab → · Contrast checker → · Palette generator →

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