#5C1948#5C1948

#5C1948 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.0% C 0.112 H 341.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#5C1948
RGBrgb(92, 25, 72)
HSLhsl(318, 57%, 23%)
HSVhsv(318, 73%, 36%)
CMYKcmyk(0%, 72.8%, 21.7%, 63.9%)
CIE-LABlab(21.72, 35.72, -13.05)
CIE-LCHlch(21.72, 38.03, 339.93°)
OKLaboklab(34% 0.1069 -0.035)
OKLCHoklch(34% 0.112 341.9)
XYZxyz(5.9311, 3.4390, 6.4811)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1948 #195C2D
analogous
#4E195C #5C1948 #5C1927
triadic
#5C1948 #485C19 #19485C
tetradic
#5C1948 #5C4E19 #195C2D #19275C
square
#5C1948 #5C4E19 #195C2D #19275C
split-complementary
#5C1948 #275C19 #195C4E
monochromatic
#180713 #2C0C22 #5C1948 #8C266E #BC3393

Accessibility & contrast

On white

12.44
#5C1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1948
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1948#FFFFFF#000000##FFFFFF
##5C19481.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1948;
/* rgb */ color: rgb(92, 25, 72);
/* oklch */ color: oklch(34.0% 0.112 341.9);
Tailwind
colors: {
  custom: {
    50: '#8d5c7b',
    500: '#5c1948',
    950: '#000000',
  },
}
SCSS
$custom: #5c1948;
$custom-light: #8d5c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1948",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 317.91,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34002,
    "c": 0.11248,
    "h": 341.9
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#5C1948
secondary
#3F9258
accent
#E17547
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5C1948

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

Preview Lab → · Contrast checker → · Palette generator →

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