#5D1239#5D1239

#5D1239 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.113 H 353.7°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#5D1239
RGBrgb(93, 18, 57)
HSLhsl(329, 68%, 22%)
HSVhsv(329, 81%, 36%)
CMYKcmyk(0%, 80.6%, 38.7%, 63.5%)
CIE-LABlab(20.27, 36.72, -4.90)
CIE-LCHlch(20.27, 37.04, 352.40°)
OKLaboklab(32.76% 0.1127 -0.0125)
OKLCHoklch(32.76% 0.113 353.7)
XYZxyz(5.4694, 3.0558, 4.1719)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1239 #125D36
analogous
#5C125D #5D1239 #5D1214
triadic
#5D1239 #395D12 #12395D
tetradic
#5D1239 #5D5C12 #125D36 #12145D
square
#5D1239 #5D5C12 #125D36 #12145D
split-complementary
#5D1239 #145D12 #125D5C
monochromatic
#1A0510 #2A081A #5D1239 #901C58 #C42678

Accessibility & contrast

On white

13.04
#5D1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1239
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1239#FFFFFF#000000##FFFFFF
##5D12391.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#353637
Tritanopia (blue-blind)
#650A23
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1239;
/* rgb */ color: rgb(93, 18, 57);
/* oklch */ color: oklch(32.8% 0.113 353.7);
Tailwind
colors: {
  custom: {
    50: '#8f586f',
    500: '#5d1239',
    950: '#000000',
  },
}
SCSS
$custom: #5d1239;
$custom-light: #8f586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1239",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 328.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3276,
    "c": 0.11335,
    "h": 353.7
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#5D1239
secondary
#359563
accent
#EA903D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D1239

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

Preview Lab → · Contrast checker → · Palette generator →

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