#5C1940#5C1940

#5C1940 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.107 H 348.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5C1940
RGBrgb(92, 25, 64)
HSLhsl(325, 57%, 23%)
HSVhsv(325, 73%, 36%)
CMYKcmyk(0%, 72.8%, 30.4%, 63.9%)
CIE-LABlab(21.36, 34.52, -8.12)
CIE-LCHlch(21.36, 35.46, 346.76°)
OKLaboklab(33.62% 0.1049 -0.0213)
OKLCHoklch(33.62% 0.107 348.5)
XYZxyz(5.6869, 3.3413, 5.1949)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1940 #195C35
analogous
#56195C #5C1940 #5C191E
triadic
#5C1940 #405C19 #19405C
tetradic
#5C1940 #5C5619 #195C35 #191E5C
square
#5C1940 #5C5619 #195C35 #191E5C
split-complementary
#5C1940 #1E5C19 #195C56
monochromatic
#180711 #2C0C1F #5C1940 #8C2661 #BC3383

Accessibility & contrast

On white

12.59
#5C1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1940
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1940#FFFFFF#000000##FFFFFF
##5C19401.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#35383E
Tritanopia (blue-blind)
#63162A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1940;
/* rgb */ color: rgb(92, 25, 64);
/* oklch */ color: oklch(33.6% 0.107 348.5);
Tailwind
colors: {
  custom: {
    50: '#8d5c74',
    500: '#5c1940',
    950: '#000000',
  },
}
SCSS
$custom: #5c1940;
$custom-light: #8d5c74;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1940",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 325.075,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.10703,
    "h": 348.5
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#5C1940
secondary
#3F9262
accent
#E18747
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C1940

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

Preview Lab → · Contrast checker → · Palette generator →

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