#5D1334#5D1334

#5D1334 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.110 H 358.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5D1334
RGBrgb(93, 19, 52)
HSLhsl(333, 66%, 22%)
HSVhsv(333, 80%, 36%)
CMYKcmyk(0%, 79.6%, 44.1%, 63.5%)
CIE-LABlab(20.21, 35.75, -1.48)
CIE-LCHlch(20.21, 35.78, 357.63°)
OKLaboklab(32.66% 0.1098 -0.0034)
OKLCHoklch(32.66% 0.11 358.2)
XYZxyz(5.3673, 3.0415, 3.5526)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1334 #135D3C
analogous
#5D1359 #5D1334 #5D1713
triadic
#5D1334 #345D13 #13345D
tetradic
#5D1334 #595D13 #135D3C #17135D
square
#5D1334 #595D13 #135D3C #17135D
split-complementary
#5D1334 #135D17 #13595D
monochromatic
#19050E #2A0918 #5D1334 #901D50 #C3286D

Accessibility & contrast

On white

13.06
#5D1334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1334
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1334#FFFFFF#000000##FFFFFF
##5D13341.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232835
Deuteranopia (green-blind)
#373632
Tritanopia (blue-blind)
#650821
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1334;
/* rgb */ color: rgb(93, 19, 52);
/* oklch */ color: oklch(32.7% 0.110 358.2);
Tailwind
colors: {
  custom: {
    50: '#8f586b',
    500: '#5d1334',
    950: '#000000',
  },
}
SCSS
$custom: #5d1334;
$custom-light: #8f586b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1334",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 333.243,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32657,
    "c": 0.10983,
    "h": 358.2
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#5D1334
secondary
#37956B
accent
#E99D3F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1334

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

Preview Lab → · Contrast checker → · Palette generator →

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