#5D184E#5D184E

#5D184E is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.4% C 0.119 H 337.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#5D184E
RGBrgb(93, 24, 78)
HSLhsl(313, 59%, 23%)
HSVhsv(313, 74%, 36%)
CMYKcmyk(0%, 74.2%, 16.1%, 63.5%)
CIE-LABlab(22.06, 37.41, -16.59)
CIE-LCHlch(22.06, 40.93, 336.09°)
OKLaboklab(34.38% 0.1104 -0.045)
OKLCHoklch(34.38% 0.119 337.8)
XYZxyz(6.2161, 3.5310, 7.5604)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D184E #185D27
analogous
#49185D #5D184E #5D182C
triadic
#5D184E #4E5D18 #184E5D
tetradic
#5D184E #5D4918 #185D27 #182C5D
square
#5D184E #5D4918 #185D27 #182C5D
split-complementary
#5D184E #2C5D18 #185D49
monochromatic
#180614 #2C0B25 #5D184E #8E2577 #BE31A0

Accessibility & contrast

On white

12.31
#5D184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D184E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D184E#FFFFFF#000000##FFFFFF
##5D184E1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E50
Deuteranopia (green-blind)
#31394C
Tritanopia (blue-blind)
#621B30
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d184e;
/* rgb */ color: rgb(93, 24, 78);
/* oklch */ color: oklch(34.4% 0.119 337.8);
Tailwind
colors: {
  custom: {
    50: '#8e5c7f',
    500: '#5d184e',
    950: '#000000',
  },
}
SCSS
$custom: #5d184e;
$custom-light: #8e5c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d184e",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 313.043,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34378,
    "c": 0.11923,
    "h": 337.8
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#5D184E
secondary
#3D9350
accent
#E26846
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D184E

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

Preview Lab → · Contrast checker → · Palette generator →

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