#34042C#34042C

#34042C is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.8% C 0.091 H 336.0°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#34042C
RGBrgb(52, 4, 44)
HSLhsl(310, 86%, 11%)
HSVhsv(310, 92%, 20%)
CMYKcmyk(0%, 92.3%, 15.4%, 79.6%)
CIE-LABlab(8.98, 28.35, -13.58)
CIE-LCHlch(8.98, 31.44, 334.41°)
OKLaboklab(22.75% 0.0833 -0.0371)
OKLCHoklch(22.75% 0.091 336)
XYZxyz(1.9142, 0.9989, 2.4744)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34042C #04340C
analogous
#240434 #34042C #340414
triadic
#34042C #2C3404 #042C34
tetradic
#34042C #342404 #04340C #041434
square
#34042C #342404 #04340C #041434
split-complementary
#34042C #143404 #043424
monochromatic
#1C0218 #1C0218 #34042C #6D085C #A60D8C

Accessibility & contrast

On white

17.50
#34042C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#34042C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34042C
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34042C#FFFFFF#000000##FFFFFF
##34042C1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152D
Deuteranopia (green-blind)
#161C2B
Tritanopia (blue-blind)
#370717
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #34042c;
/* rgb */ color: rgb(52, 4, 44);
/* oklch */ color: oklch(22.8% 0.091 336.0);
Tailwind
colors: {
  custom: {
    50: '#6e4a65',
    500: '#34042c',
    950: '#000000',
  },
}
SCSS
$custom: #34042c;
$custom-light: #6e4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#34042c",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 44
  },
  "hsl": {
    "h": 310,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22752,
    "c": 0.09116,
    "h": 336
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#34042C
secondary
#1E762C
accent
#FC4F2C
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #34042C

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

Preview Lab → · Contrast checker → · Palette generator →

#34042C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva