#5C184E#5C184E

#5C184E is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.119 H 337.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#5C184E
RGBrgb(92, 24, 78)
HSLhsl(312, 59%, 23%)
HSVhsv(312, 74%, 36%)
CMYKcmyk(0%, 73.9%, 15.2%, 63.9%)
CIE-LABlab(21.87, 37.13, -16.90)
CIE-LCHlch(21.87, 40.79, 335.53°)
OKLaboklab(34.21% 0.1093 -0.0459)
OKLCHoklch(34.21% 0.119 337.2)
XYZxyz(6.1155, 3.4792, 7.5557)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C184E #185C26
analogous
#48185C #5C184E #5C182C
triadic
#5C184E #4E5C18 #184E5C
tetradic
#5C184E #5C4818 #185C26 #182C5C
square
#5C184E #5C4818 #185C26 #182C5C
split-complementary
#5C184E #2C5C18 #185C48
monochromatic
#180615 #2B0B25 #5C184E #8D2577 #BD31A0

Accessibility & contrast

On white

12.38
#5C184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5C184E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C184E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C184E#FFFFFF#000000##FFFFFF
##5C184E1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#30384C
Tritanopia (blue-blind)
#611C30
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c184e;
/* rgb */ color: rgb(92, 24, 78);
/* oklch */ color: oklch(34.2% 0.119 337.2);
Tailwind
colors: {
  custom: {
    50: '#8d5c7f',
    500: '#5c184e',
    950: '#000000',
  },
}
SCSS
$custom: #5c184e;
$custom-light: #8d5c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c184e",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 312.353,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34206,
    "c": 0.11852,
    "h": 337.2
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#5C184E
secondary
#3D934F
accent
#E26646
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C184E

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

Preview Lab → · Contrast checker → · Palette generator →

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