#34012B#34012B

#34012B is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.3% C 0.096 H 336.8°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#34012B
RGBrgb(52, 1, 43)
HSLhsl(311, 96%, 10%)
HSVhsv(311, 98%, 20%)
CMYKcmyk(0%, 98.1%, 17.3%, 79.6%)
CIE-LABlab(8.36, 29.80, -13.80)
CIE-LCHlch(8.36, 32.84, 335.15°)
OKLaboklab(22.29% 0.0881 -0.0377)
OKLCHoklch(22.29% 0.096 336.8)
XYZxyz(1.8631, 0.9264, 2.3657)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34012B #01340A
analogous
#230134 #34012B #340111
triadic
#34012B #2B3401 #012B34
tetradic
#34012B #342301 #01340A #011134
square
#34012B #342301 #01340A #011134
split-complementary
#34012B #113401 #013423
monochromatic
#1E0119 #1E0119 #34012B #70025D #AC038E

Accessibility & contrast

On white

17.72
#34012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34012B
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34012B#FFFFFF#000000##FFFFFF
##34012B1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132C
Deuteranopia (green-blind)
#151B2A
Tritanopia (blue-blind)
#370415
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #34012b;
/* rgb */ color: rgb(52, 1, 43);
/* oklch */ color: oklch(22.3% 0.096 336.8);
Tailwind
colors: {
  custom: {
    50: '#6e4864',
    500: '#34012b',
    950: '#000000',
  },
}
SCSS
$custom: #34012b;
$custom-light: #6e4864;
$custom-dark: #000000;
JSON
{
  "hex": "#34012b",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 310.588,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22289,
    "c": 0.0958,
    "h": 336.8
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#34012B
secondary
#187929
accent
#FF4F29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #34012B

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

Preview Lab → · Contrast checker → · Palette generator →

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