#5D2147#5D2147

#5D2147 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.1% C 0.100 H 344.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#5D2147
RGBrgb(93, 33, 71)
HSLhsl(322, 48%, 25%)
HSVhsv(322, 65%, 36%)
CMYKcmyk(0%, 64.5%, 23.7%, 63.5%)
CIE-LABlab(23.24, 32.10, -10.03)
CIE-LCHlch(23.24, 33.63, 342.64°)
OKLaboklab(35.14% 0.0963 -0.0266)
OKLCHoklch(35.14% 0.1 344.5)
XYZxyz(6.1956, 3.8704, 6.3808)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2147 #215D37
analogous
#55215D #5D2147 #5D2129
triadic
#5D2147 #475D21 #21475D
tetradic
#5D2147 #5D5521 #215D37 #21295D
square
#5D2147 #5D5521 #215D37 #21295D
split-complementary
#5D2147 #295D21 #215D55
monochromatic
#170811 #301125 #5D2147 #8A3169 #B7418C

Accessibility & contrast

On white

11.84
#5D2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2147
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2147#FFFFFF#000000##FFFFFF
##5D21471.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2147;
/* rgb */ color: rgb(93, 33, 71);
/* oklch */ color: oklch(35.1% 0.100 344.5);
Tailwind
colors: {
  custom: {
    50: '#8d607a',
    500: '#5d2147',
    950: '#000000',
  },
}
SCSS
$custom: #5d2147;
$custom-light: #8d607a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2147",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 322,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35135,
    "c": 0.09991,
    "h": 344.5
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#5D2147
secondary
#499163
accent
#D78251
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5D2147

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

Preview Lab → · Contrast checker → · Palette generator →

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