#5C154B#5C154B

#5C154B is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.120 H 339.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#5C154B
RGBrgb(92, 21, 75)
HSLhsl(314, 63%, 22%)
HSVhsv(314, 77%, 36%)
CMYKcmyk(0%, 77.2%, 18.5%, 63.9%)
CIE-LABlab(21.28, 37.85, -15.77)
CIE-LCHlch(21.28, 41.00, 337.38°)
OKLaboklab(33.73% 0.1125 -0.0426)
OKLCHoklch(33.73% 0.12 339.2)
XYZxyz(5.9519, 3.3202, 6.9826)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C154B #155C26
analogous
#4A155C #5C154B #5C1528
triadic
#5C154B #4B5C15 #154B5C
tetradic
#5C154B #5C4A15 #155C26 #15285C
square
#5C154B #5C4A15 #155C26 #15285C
split-complementary
#5C154B #285C15 #155C4A
monochromatic
#190614 #2A0A22 #5C154B #8E2074 #C02C9C

Accessibility & contrast

On white

12.62
#5C154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5C154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C154B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C154B#FFFFFF#000000##FFFFFF
##5C154B1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4D
Deuteranopia (green-blind)
#303749
Tritanopia (blue-blind)
#62182E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c154b;
/* rgb */ color: rgb(92, 21, 75);
/* oklch */ color: oklch(33.7% 0.120 339.2);
Tailwind
colors: {
  custom: {
    50: '#8d5a7d',
    500: '#5c154b',
    950: '#000000',
  },
}
SCSS
$custom: #5c154b;
$custom-light: #8d5a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c154b",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 314.366,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33731,
    "c": 0.12027,
    "h": 339.2
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#5C154B
secondary
#39934F
accent
#E66942
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5C154B

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

Preview Lab → · Contrast checker → · Palette generator →

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