#5D1249#5D1249

#5D1249 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.123 H 341.1°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5D1249
RGBrgb(93, 18, 73)
HSLhsl(316, 68%, 22%)
HSVhsv(316, 81%, 36%)
CMYKcmyk(0%, 80.6%, 21.5%, 63.5%)
CIE-LABlab(20.99, 38.92, -14.86)
CIE-LCHlch(20.99, 41.66, 339.11°)
OKLaboklab(33.52% 0.1166 -0.04)
OKLCHoklch(33.52% 0.123 341.1)
XYZxyz(5.9333, 3.2414, 6.6152)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1249 #125D26
analogous
#4C125D #5D1249 #5D1224
triadic
#5D1249 #495D12 #12495D
tetradic
#5D1249 #5D4C12 #125D26 #12245D
square
#5D1249 #5D4C12 #125D26 #12245D
split-complementary
#5D1249 #245D12 #125D4C
monochromatic
#1A0514 #2A0821 #5D1249 #901C71 #C42699

Accessibility & contrast

On white

12.74
#5D1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1249
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1249#FFFFFF#000000##FFFFFF
##5D12491.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4A
Deuteranopia (green-blind)
#313747
Tritanopia (blue-blind)
#63142C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1249;
/* rgb */ color: rgb(93, 18, 73);
/* oklch */ color: oklch(33.5% 0.123 341.1);
Tailwind
colors: {
  custom: {
    50: '#8e597c',
    500: '#5d1249',
    950: '#000000',
  },
}
SCSS
$custom: #5d1249;
$custom-light: #8e597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1249",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 316,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33519,
    "c": 0.12325,
    "h": 341.1
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#5D1249
secondary
#35954F
accent
#EA6C3D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1249

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

Preview Lab → · Contrast checker → · Palette generator →

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