#5C1942#5C1942

#5C1942 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.108 H 346.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#5C1942
RGBrgb(92, 25, 66)
HSLhsl(323, 57%, 23%)
HSVhsv(323, 73%, 36%)
CMYKcmyk(0%, 72.8%, 28.3%, 63.9%)
CIE-LABlab(21.45, 34.81, -9.37)
CIE-LCHlch(21.45, 36.05, 344.94°)
OKLaboklab(33.71% 0.1055 -0.0247)
OKLCHoklch(33.71% 0.108 346.8)
XYZxyz(5.7449, 3.3645, 5.5001)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1942 #195C33
analogous
#54195C #5C1942 #5C1920
triadic
#5C1942 #425C19 #19425C
tetradic
#5C1942 #5C5419 #195C33 #19205C
square
#5C1942 #5C5419 #195C33 #19205C
split-complementary
#5C1942 #205C19 #195C54
monochromatic
#180711 #2C0C1F #5C1942 #8C2665 #BC3387

Accessibility & contrast

On white

12.55
#5C1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5C1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1942
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1942#FFFFFF#000000##FFFFFF
##5C19421.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#353840
Tritanopia (blue-blind)
#63172B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1942;
/* rgb */ color: rgb(92, 25, 66);
/* oklch */ color: oklch(33.7% 0.108 346.8);
Tailwind
colors: {
  custom: {
    50: '#8d5c76',
    500: '#5c1942',
    950: '#000000',
  },
}
SCSS
$custom: #5c1942;
$custom-light: #8d5c76;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1942",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 323.284,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33712,
    "c": 0.10831,
    "h": 346.8
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#5C1942
secondary
#3F925F
accent
#E18347
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5C1942

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

Preview Lab → · Contrast checker → · Palette generator →

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