#5C2147#5C2147

#5C2147 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 35.0% C 0.099 H 343.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#5C2147
RGBrgb(92, 33, 71)
HSLhsl(321, 47%, 25%)
HSVhsv(321, 64%, 36%)
CMYKcmyk(0%, 64.1%, 22.8%, 63.9%)
CIE-LABlab(23.06, 31.76, -10.32)
CIE-LCHlch(23.06, 33.39, 342.00°)
OKLaboklab(34.97% 0.0951 -0.0274)
OKLCHoklch(34.97% 0.099 343.9)
XYZxyz(6.0950, 3.8185, 6.3761)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2147 #215C36
analogous
#54215C #5C2147 #5C212A
triadic
#5C2147 #475C21 #21475C
tetradic
#5C2147 #5C5421 #215C36 #212A5C
square
#5C2147 #5C5421 #215C36 #212A5C
split-complementary
#5C2147 #2A5C21 #215C54
monochromatic
#170811 #2F1124 #5C2147 #89316A #B6418D

Accessibility & contrast

On white

11.91
#5C2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2147
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2147#FFFFFF#000000##FFFFFF
##5C21471.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263148
Deuteranopia (green-blind)
#373B46
Tritanopia (blue-blind)
#622131
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c2147;
/* rgb */ color: rgb(92, 33, 71);
/* oklch */ color: oklch(35.0% 0.099 343.9);
Tailwind
colors: {
  custom: {
    50: '#8c607a',
    500: '#5c2147',
    950: '#000000',
  },
}
SCSS
$custom: #5c2147;
$custom-light: #8c607a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2147",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 321.356,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34971,
    "c": 0.09899,
    "h": 343.9
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#5C2147
secondary
#499062
accent
#D78151
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5C2147

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

Preview Lab → · Contrast checker → · Palette generator →

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