#5C1943#5C1943

#5C1943 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.109 H 346.0°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#5C1943
RGBrgb(92, 25, 67)
HSLhsl(322, 57%, 23%)
HSVhsv(322, 73%, 36%)
CMYKcmyk(0%, 72.8%, 27.2%, 63.9%)
CIE-LABlab(21.49, 34.96, -9.99)
CIE-LCHlch(21.49, 36.35, 344.06°)
OKLaboklab(33.76% 0.1057 -0.0264)
OKLCHoklch(33.76% 0.109 346)
XYZxyz(5.7746, 3.3764, 5.6567)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1943 #195C32
analogous
#53195C #5C1943 #5C1921
triadic
#5C1943 #435C19 #19435C
tetradic
#5C1943 #5C5319 #195C32 #19215C
square
#5C1943 #5C5319 #195C32 #19215C
split-complementary
#5C1943 #215C19 #195C53
monochromatic
#180712 #2C0C20 #5C1943 #8C2666 #BC3389

Accessibility & contrast

On white

12.54
#5C1943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5C1943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1943
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1943#FFFFFF#000000##FFFFFF
##5C19431.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C44
Deuteranopia (green-blind)
#343841
Tritanopia (blue-blind)
#63182B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c1943;
/* rgb */ color: rgb(92, 25, 67);
/* oklch */ color: oklch(33.8% 0.109 346.0);
Tailwind
colors: {
  custom: {
    50: '#8d5c77',
    500: '#5c1943',
    950: '#000000',
  },
}
SCSS
$custom: #5c1943;
$custom-light: #8d5c77;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1943",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 67
  },
  "hsl": {
    "h": 322.388,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33758,
    "c": 0.10897,
    "h": 346
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#5C1943
secondary
#3F925E
accent
#E18047
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5C1943

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

Preview Lab → · Contrast checker → · Palette generator →

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