#5C152A#5C152A

#5C152A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.103 H 7.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5C152A
RGBrgb(92, 21, 42)
HSLhsl(342, 63%, 22%)
HSVhsv(342, 77%, 36%)
CMYKcmyk(0%, 77.2%, 54.3%, 63.9%)
CIE-LABlab(19.96, 33.58, 5.18)
CIE-LCHlch(19.96, 33.98, 8.77°)
OKLaboklab(32.33% 0.1023 0.0134)
OKLCHoklch(32.33% 0.103 7.5)
XYZxyz(5.1002, 2.9795, 2.4966)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C152A #155C47
analogous
#5C154D #5C152A #5C2415
triadic
#5C152A #2A5C15 #152A5C
tetradic
#5C152A #4D5C15 #155C47 #24155C
square
#5C152A #4D5C15 #155C47 #24155C
split-complementary
#5C152A #155C24 #154D5C
monochromatic
#19060B #2A0A13 #5C152A #8E2041 #C02C57

Accessibility & contrast

On white

13.16
#5C152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5C152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C152A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C152A#FFFFFF#000000##FFFFFF
##5C152A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#393528
Tritanopia (blue-blind)
#65071E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c152a;
/* rgb */ color: rgb(92, 21, 42);
/* oklch */ color: oklch(32.3% 0.103 7.5);
Tailwind
colors: {
  custom: {
    50: '#8f5963',
    500: '#5c152a',
    950: '#000000',
  },
}
SCSS
$custom: #5c152a;
$custom-light: #8f5963;
$custom-dark: #000000;
JSON
{
  "hex": "#5c152a",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 342.254,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32331,
    "c": 0.10318,
    "h": 7.5
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#5C152A
secondary
#399379
accent
#E6B542
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C152A

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

Preview Lab → · Contrast checker → · Palette generator →

#5C152A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva