#34031B#34031B

#34031B is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.081 H 356.0°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#34031B
RGBrgb(52, 3, 27)
HSLhsl(331, 89%, 11%)
HSVhsv(331, 94%, 20%)
CMYKcmyk(0%, 94.2%, 48.1%, 79.6%)
CIE-LABlab(7.90, 26.36, -2.27)
CIE-LCHlch(7.90, 26.46, 355.07°)
OKLaboklab(21.68% 0.0812 -0.0057)
OKLCHoklch(21.68% 0.081 356)
XYZxyz(1.6467, 0.8745, 1.1188)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34031B #03341C
analogous
#340333 #34031B #340303
triadic
#34031B #1B3403 #031B34
tetradic
#34031B #333403 #03341C #030334
square
#34031B #333403 #03341C #030334
split-complementary
#34031B #033403 #033334
monochromatic
#1D020F #1D020F #34031B #6E0639 #A80A57

Accessibility & contrast

On white

17.88
#34031B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34031B
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34031B#FFFFFF#000000##FFFFFF
##34031B1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34031b;
/* rgb */ color: rgb(52, 3, 27);
/* oklch */ color: oklch(21.7% 0.081 356.0);
Tailwind
colors: {
  custom: {
    50: '#6f4957',
    500: '#34031b',
    950: '#000000',
  },
}
SCSS
$custom: #34031b;
$custom-light: #6f4957;
$custom-dark: #000000;
JSON
{
  "hex": "#34031b",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 27
  },
  "hsl": {
    "h": 330.612,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21679,
    "c": 0.08142,
    "h": 356
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#34031B
secondary
#1C774A
accent
#FF9629
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #34031B

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

Preview Lab → · Contrast checker → · Palette generator →

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