#5D2143#5D2143

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

Color values

HEX#5D2143
RGBrgb(93, 33, 67)
HSLhsl(326, 48%, 25%)
HSVhsv(326, 65%, 36%)
CMYKcmyk(0%, 64.5%, 28%, 63.5%)
CIE-LABlab(23.07, 31.47, -7.57)
CIE-LCHlch(23.07, 32.37, 346.47°)
OKLaboklab(34.96% 0.0951 -0.0199)
OKLCHoklch(34.96% 0.097 348.2)
XYZxyz(6.0714, 3.8207, 5.7268)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2143 #215D3B
analogous
#59215D #5D2143 #5D2125
triadic
#5D2143 #435D21 #21435D
tetradic
#5D2143 #5D5921 #215D3B #21255D
square
#5D2143 #5D5921 #215D3B #21255D
split-complementary
#5D2143 #255D21 #215D59
monochromatic
#170810 #301122 #5D2143 #8A3164 #B74184

Accessibility & contrast

On white

11.90
#5D2143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2143
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2143#FFFFFF#000000##FFFFFF
##5D21431.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283044
Deuteranopia (green-blind)
#393B42
Tritanopia (blue-blind)
#641F2F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d2143;
/* rgb */ color: rgb(93, 33, 67);
/* oklch */ color: oklch(35.0% 0.097 348.2);
Tailwind
colors: {
  custom: {
    50: '#8d6077',
    500: '#5d2143',
    950: '#000000',
  },
}
SCSS
$custom: #5d2143;
$custom-light: #8d6077;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2143",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 67
  },
  "hsl": {
    "h": 326,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34955,
    "c": 0.09717,
    "h": 348.2
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#5D2143
secondary
#499168
accent
#D78B51
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #5D2143

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

Preview Lab → · Contrast checker → · Palette generator →

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