#5C2152#5C2152

#5C2152 is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.5% C 0.108 H 334.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#5C2152
RGBrgb(92, 33, 82)
HSLhsl(310, 47%, 25%)
HSVhsv(310, 64%, 36%)
CMYKcmyk(0%, 64.1%, 10.9%, 63.9%)
CIE-LABlab(23.58, 33.66, -16.92)
CIE-LCHlch(23.58, 37.67, 333.31°)
OKLaboklab(35.52% 0.0976 -0.046)
OKLCHoklch(35.52% 0.108 334.8)
XYZxyz(6.4805, 3.9727, 8.4065)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2152 #215C2B
analogous
#49215C #5C2152 #5C2135
triadic
#5C2152 #525C21 #21525C
tetradic
#5C2152 #5C4921 #215C2B #21355C
square
#5C2152 #5C4921 #215C2B #21355C
split-complementary
#5C2152 #355C21 #215C49
monochromatic
#170814 #2F112A #5C2152 #89317A #B641A2

Accessibility & contrast

On white

11.70
#5C2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5C2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2152
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2152#FFFFFF#000000##FFFFFF
##5C21521.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213354
Deuteranopia (green-blind)
#333B50
Tritanopia (blue-blind)
#602536
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c2152;
/* rgb */ color: rgb(92, 33, 82);
/* oklch */ color: oklch(35.5% 0.108 334.8);
Tailwind
colors: {
  custom: {
    50: '#8c6082',
    500: '#5c2152',
    950: '#000000',
  },
}
SCSS
$custom: #5c2152;
$custom-light: #8c6082;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2152",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 310.169,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35522,
    "c": 0.10793,
    "h": 334.8
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#5C2152
secondary
#499055
accent
#D76851
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #5C2152

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

Preview Lab → · Contrast checker → · Palette generator →

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