#5C1939#5C1939

#5C1939 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.3% C 0.103 H 354.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#5C1939
RGBrgb(92, 25, 57)
HSLhsl(331, 57%, 23%)
HSVhsv(331, 73%, 36%)
CMYKcmyk(0%, 72.8%, 38%, 63.9%)
CIE-LABlab(21.08, 33.56, -3.70)
CIE-LCHlch(21.08, 33.77, 353.71°)
OKLaboklab(33.32% 0.1027 -0.0093)
OKLCHoklch(33.32% 0.103 354.8)
XYZxyz(5.5001, 3.2666, 4.2110)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1939 #195C3C
analogous
#5C195A #5C1939 #5C1A19
triadic
#5C1939 #395C19 #19395C
tetradic
#5C1939 #5A5C19 #195C3C #1A195C
square
#5C1939 #5A5C19 #195C3C #1A195C
split-complementary
#5C1939 #195C1A #195A5C
monochromatic
#18070F #2C0C1B #5C1939 #8C2657 #BC3375

Accessibility & contrast

On white

12.70
#5C1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C1939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1939
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1939#FFFFFF#000000##FFFFFF
##5C19391.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3A
Deuteranopia (green-blind)
#373737
Tritanopia (blue-blind)
#641326
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1939;
/* rgb */ color: rgb(92, 25, 57);
/* oklch */ color: oklch(33.3% 0.103 354.8);
Tailwind
colors: {
  custom: {
    50: '#8d5b6f',
    500: '#5c1939',
    950: '#000000',
  },
}
SCSS
$custom: #5c1939;
$custom-light: #8d5b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1939",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 331.343,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33322,
    "c": 0.1031,
    "h": 354.8
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#5C1939
secondary
#3F926A
accent
#E19747
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5C1939

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

Preview Lab → · Contrast checker → · Palette generator →

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