#5C1949#5C1949

#5C1949 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.1% C 0.113 H 341.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#5C1949
RGBrgb(92, 25, 73)
HSLhsl(317, 57%, 23%)
HSVhsv(317, 73%, 36%)
CMYKcmyk(0%, 72.8%, 20.7%, 63.9%)
CIE-LABlab(21.77, 35.88, -13.66)
CIE-LCHlch(21.77, 38.39, 339.16°)
OKLaboklab(34.05% 0.1071 -0.0367)
OKLCHoklch(34.05% 0.113 341.1)
XYZxyz(5.9640, 3.4522, 6.6543)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1949 #195C2C
analogous
#4D195C #5C1949 #5C1927
triadic
#5C1949 #495C19 #19495C
tetradic
#5C1949 #5C4D19 #195C2C #19275C
square
#5C1949 #5C4D19 #195C2C #19275C
split-complementary
#5C1949 #275C19 #195C4D
monochromatic
#180713 #2C0C23 #5C1949 #8C266F #BC3395

Accessibility & contrast

On white

12.42
#5C1949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5C1949 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1949
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1949#FFFFFF#000000##FFFFFF
##5C19491.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D4A
Deuteranopia (green-blind)
#323847
Tritanopia (blue-blind)
#621A2E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c1949;
/* rgb */ color: rgb(92, 25, 73);
/* oklch */ color: oklch(34.1% 0.113 341.1);
Tailwind
colors: {
  custom: {
    50: '#8d5c7c',
    500: '#5c1949',
    950: '#000000',
  },
}
SCSS
$custom: #5c1949;
$custom-light: #8d5c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1949",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 73
  },
  "hsl": {
    "h": 317.015,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34053,
    "c": 0.11323,
    "h": 341.1
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#5C1949
secondary
#3F9256
accent
#E17347
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5C1949

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

Preview Lab → · Contrast checker → · Palette generator →

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