#5C1B4E#5C1B4E

#5C1B4E is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.5% C 0.114 H 337.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#5C1B4E
RGBrgb(92, 27, 78)
HSLhsl(313, 55%, 23%)
HSVhsv(313, 71%, 36%)
CMYKcmyk(0%, 70.7%, 15.2%, 63.9%)
CIE-LABlab(22.34, 35.82, -16.17)
CIE-LCHlch(22.34, 39.30, 335.71°)
OKLaboklab(34.55% 0.1054 -0.0438)
OKLCHoklch(34.55% 0.114 337.4)
XYZxyz(6.1808, 3.6098, 7.5775)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1B4E #1B5C29
analogous
#491B5C #5C1B4E #5C1B2D
triadic
#5C1B4E #4E5C1B #1B4E5C
tetradic
#5C1B4E #5C491B #1B5C29 #1B2D5C
square
#5C1B4E #5C491B #1B5C29 #1B2D5C
split-complementary
#5C1B4E #2D5C1B #1B5C49
monochromatic
#180714 #2D0D26 #5C1B4E #8B2976 #BB379E

Accessibility & contrast

On white

12.20
#5C1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5C1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1B4E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1B4E#FFFFFF#000000##FFFFFF
##5C1B4E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F50
Deuteranopia (green-blind)
#32394C
Tritanopia (blue-blind)
#611E31
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1b4e;
/* rgb */ color: rgb(92, 27, 78);
/* oklch */ color: oklch(34.5% 0.114 337.4);
Tailwind
colors: {
  custom: {
    50: '#8d5d7f',
    500: '#5c1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #5c1b4e;
$custom-light: #8d5d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1b4e",
  "rgb": {
    "r": 92,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 312.923,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34547,
    "c": 0.11414,
    "h": 337.4
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#5C1B4E
secondary
#419252
accent
#DE6A4A
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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