#5D184F#5D184F

#5D184F is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.4% C 0.120 H 337.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#5D184F
RGBrgb(93, 24, 79)
HSLhsl(312, 59%, 23%)
HSVhsv(312, 74%, 36%)
CMYKcmyk(0%, 74.2%, 15.1%, 63.5%)
CIE-LABlab(22.11, 37.58, -17.18)
CIE-LCHlch(22.11, 41.32, 335.43°)
OKLaboklab(34.43% 0.1106 -0.0467)
OKLCHoklch(34.43% 0.12 337.1)
XYZxyz(6.2522, 3.5455, 7.7507)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D184F #185D26
analogous
#48185D #5D184F #5D182C
triadic
#5D184F #4F5D18 #184F5D
tetradic
#5D184F #5D4818 #185D26 #182C5D
square
#5D184F #5D4818 #185D26 #182C5D
split-complementary
#5D184F #2C5D18 #185D48
monochromatic
#180615 #2C0B26 #5D184F #8E2578 #BE31A2

Accessibility & contrast

On white

12.29
#5D184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5D184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D184F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D184F#FFFFFF#000000##FFFFFF
##5D184F1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E51
Deuteranopia (green-blind)
#31394D
Tritanopia (blue-blind)
#621C31
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d184f;
/* rgb */ color: rgb(93, 24, 79);
/* oklch */ color: oklch(34.4% 0.120 337.1);
Tailwind
colors: {
  custom: {
    50: '#8e5c80',
    500: '#5d184f',
    950: '#000000',
  },
}
SCSS
$custom: #5d184f;
$custom-light: #8e5c80;
$custom-dark: #000000;
JSON
{
  "hex": "#5d184f",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 312.174,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34433,
    "c": 0.12002,
    "h": 337.1
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#5D184F
secondary
#3D934F
accent
#E26546
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D184F

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

Preview Lab → · Contrast checker → · Palette generator →

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