#5C1950#5C1950

#5C1950 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.4% C 0.119 H 335.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#5C1950
RGBrgb(92, 25, 80)
HSLhsl(311, 57%, 23%)
HSVhsv(311, 73%, 36%)
CMYKcmyk(0%, 72.8%, 13%, 63.9%)
CIE-LABlab(22.13, 37.04, -17.85)
CIE-LCHlch(22.13, 41.12, 334.28°)
OKLaboklab(34.43% 0.1083 -0.0486)
OKLCHoklch(34.43% 0.119 335.8)
XYZxyz(6.2093, 3.5503, 7.9461)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1950 #195C25
analogous
#46195C #5C1950 #5C192E
triadic
#5C1950 #505C19 #19505C
tetradic
#5C1950 #5C4619 #195C25 #192E5C
square
#5C1950 #5C4619 #195C25 #192E5C
split-complementary
#5C1950 #2E5C19 #195C46
monochromatic
#180715 #2C0C26 #5C1950 #8C267A #BC33A4

Accessibility & contrast

On white

12.28
#5C1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5C1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1950
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1950#FFFFFF#000000##FFFFFF
##5C19501.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E52
Deuteranopia (green-blind)
#30394E
Tritanopia (blue-blind)
#611D32
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1950;
/* rgb */ color: rgb(92, 25, 80);
/* oklch */ color: oklch(34.4% 0.119 335.8);
Tailwind
colors: {
  custom: {
    50: '#8d5c81',
    500: '#5c1950',
    950: '#000000',
  },
}
SCSS
$custom: #5c1950;
$custom-light: #8d5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1950",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 310.746,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34427,
    "c": 0.11871,
    "h": 335.8
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#5C1950
secondary
#3F924E
accent
#E16347
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C1950

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

Preview Lab → · Contrast checker → · Palette generator →

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