#34152C#34152C

#34152C is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.061 H 338.0°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#34152C
RGBrgb(52, 21, 44)
HSLhsl(315, 42%, 14%)
HSVhsv(315, 60%, 20%)
CMYKcmyk(0%, 59.6%, 15.4%, 79.6%)
CIE-LABlab(12.28, 19.29, -8.46)
CIE-LCHlch(12.28, 21.06, 336.30°)
OKLaboklab(25.16% 0.0564 -0.0228)
OKLCHoklch(25.16% 0.061 338)
XYZxyz(2.1390, 1.4484, 2.5493)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34152C #15341D
analogous
#2D1534 #34152C #34151D
triadic
#34152C #2C3415 #152C34
tetradic
#34152C #342D15 #15341D #151D34
square
#34152C #342D15 #15341D #151D34
split-complementary
#34152C #1D3415 #15342D
monochromatic
#160912 #160912 #34152C #602751 #8B3876

Accessibility & contrast

On white

16.28
#34152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#34152C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34152C
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34152C#FFFFFF#000000##FFFFFF
##34152C1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161D2D
Deuteranopia (green-blind)
#1E222B
Tritanopia (blue-blind)
#37161E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #34152c;
/* rgb */ color: rgb(52, 21, 44);
/* oklch */ color: oklch(25.2% 0.061 338.0);
Tailwind
colors: {
  custom: {
    50: '#6c5465',
    500: '#34152c',
    950: '#000000',
  },
}
SCSS
$custom: #34152c;
$custom-light: #6c5465;
$custom-dark: #000000;
JSON
{
  "hex": "#34152c",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 315.484,
    "s": 42.466,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25159,
    "c": 0.06083,
    "h": 338
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#34152C
secondary
#3A6B47
accent
#D27656
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #34152C

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

Preview Lab → · Contrast checker → · Palette generator →

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