#5D1142#5D1142

#5D1142 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.1% C 0.120 H 346.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5D1142
RGBrgb(93, 17, 66)
HSLhsl(321, 69%, 22%)
HSVhsv(321, 82%, 36%)
CMYKcmyk(0%, 81.7%, 29%, 63.5%)
CIE-LABlab(20.53, 38.25, -10.76)
CIE-LCHlch(20.53, 39.74, 344.29°)
OKLaboklab(33.08% 0.1163 -0.0285)
OKLCHoklch(33.08% 0.12 346.2)
XYZxyz(5.6983, 3.1220, 5.4557)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1142 #115D2C
analogous
#52115D #5D1142 #5D111C
triadic
#5D1142 #425D11 #11425D
tetradic
#5D1142 #5D5211 #115D2C #111C5D
square
#5D1142 #5D5211 #115D2C #111C5D
split-complementary
#5D1142 #1C5D11 #115D52
monochromatic
#1A0512 #29081D #5D1142 #911A67 #C4248B

Accessibility & contrast

On white

12.93
#5D1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5D1142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1142
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1142#FFFFFF#000000##FFFFFF
##5D11421.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#333640
Tritanopia (blue-blind)
#640F28
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1142;
/* rgb */ color: rgb(93, 17, 66);
/* oklch */ color: oklch(33.1% 0.120 346.2);
Tailwind
colors: {
  custom: {
    50: '#8e5876',
    500: '#5d1142',
    950: '#000000',
  },
}
SCSS
$custom: #5d1142;
$custom-light: #8e5876;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1142",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 321.316,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33076,
    "c": 0.11969,
    "h": 346.2
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#5D1142
secondary
#349657
accent
#EC7A3C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D1142

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

Preview Lab → · Contrast checker → · Palette generator →

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