#5D2153#5D2153

#5D2153 is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.7% C 0.110 H 334.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#5D2153
RGBrgb(93, 33, 83)
HSLhsl(310, 48%, 25%)
HSVhsv(310, 65%, 36%)
CMYKcmyk(0%, 64.5%, 10.8%, 63.5%)
CIE-LABlab(23.80, 34.15, -17.23)
CIE-LCHlch(23.80, 38.25, 333.23°)
OKLaboklab(35.74% 0.099 -0.0469)
OKLCHoklch(35.74% 0.11 334.7)
XYZxyz(6.6194, 4.0399, 8.6131)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2153 #215D2B
analogous
#49215D #5D2153 #5D2135
triadic
#5D2153 #535D21 #21535D
tetradic
#5D2153 #5D4921 #215D2B #21355D
square
#5D2153 #5D4921 #215D2B #21355D
split-complementary
#5D2153 #355D21 #215D49
monochromatic
#170814 #30112B #5D2153 #8A317B #B741A4

Accessibility & contrast

On white

11.62
#5D2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5D2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2153
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2153#FFFFFF#000000##FFFFFF
##5D21531.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213355
Deuteranopia (green-blind)
#333C51
Tritanopia (blue-blind)
#612536
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d2153;
/* rgb */ color: rgb(93, 33, 83);
/* oklch */ color: oklch(35.7% 0.110 334.7);
Tailwind
colors: {
  custom: {
    50: '#8d6083',
    500: '#5d2153',
    950: '#000000',
  },
}
SCSS
$custom: #5d2153;
$custom-light: #8d6083;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2153",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 310,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35736,
    "c": 0.10956,
    "h": 334.7
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#5D2153
secondary
#499155
accent
#D76751
background
#F8F5F8
surface
#F0EAEF
border
#CBC6CA
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #5D2153

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

Preview Lab → · Contrast checker → · Palette generator →

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