#5C152B#5C152B

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

Color values

HEX#5C152B
RGBrgb(92, 21, 43)
HSLhsl(341, 63%, 22%)
HSVhsv(341, 77%, 36%)
CMYKcmyk(0%, 77.2%, 53.3%, 63.9%)
CIE-LABlab(19.99, 33.68, 4.52)
CIE-LCHlch(19.99, 33.98, 7.64°)
OKLaboklab(32.36% 0.1027 0.0118)
OKLCHoklch(32.36% 0.103 6.6)
XYZxyz(5.1183, 2.9867, 2.5920)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C152B #155C46
analogous
#5C154F #5C152B #5C2215
triadic
#5C152B #2B5C15 #152B5C
tetradic
#5C152B #4F5C15 #155C46 #22155C
square
#5C152B #4F5C15 #155C46 #22155C
split-complementary
#5C152B #155C22 #154F5C
monochromatic
#19060C #2A0A14 #5C152B #8E2042 #C02C5A

Accessibility & contrast

On white

13.15
#5C152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C152B
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C152B#FFFFFF#000000##FFFFFF
##5C152B1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c152b;
/* rgb */ color: rgb(92, 21, 43);
/* oklch */ color: oklch(32.4% 0.103 6.6);
Tailwind
colors: {
  custom: {
    50: '#8e5964',
    500: '#5c152b',
    950: '#000000',
  },
}
SCSS
$custom: #5c152b;
$custom-light: #8e5964;
$custom-dark: #000000;
JSON
{
  "hex": "#5c152b",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 341.408,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32362,
    "c": 0.10341,
    "h": 6.6
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#5C152B
secondary
#399378
accent
#E6B342
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C152B

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

Preview Lab → · Contrast checker → · Palette generator →

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