#5F184D#5F184D

#5F184D is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.7% C 0.120 H 339.7°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#5F184D
RGBrgb(95, 24, 77)
HSLhsl(315, 60%, 23%)
HSVhsv(315, 75%, 37%)
CMYKcmyk(0%, 74.7%, 18.9%, 62.7%)
CIE-LABlab(22.38, 37.82, -15.38)
CIE-LCHlch(22.38, 40.83, 337.87°)
OKLaboklab(34.67% 0.1125 -0.0415)
OKLCHoklch(34.67% 0.12 339.7)
XYZxyz(6.3857, 3.6226, 7.3827)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F184D #185F2A
analogous
#4D185F #5F184D #5F1829
triadic
#5F184D #4D5F18 #184D5F
tetradic
#5F184D #5F4D18 #185F2A #18295F
square
#5F184D #5F4D18 #185F2A #18295F
split-complementary
#5F184D #295F18 #185F4D
monochromatic
#180614 #2E0C25 #5F184D #902475 #C1319C

Accessibility & contrast

On white

12.18
#5F184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5F184D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F184D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F184D#FFFFFF#000000##FFFFFF
##5F184D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4F
Deuteranopia (green-blind)
#333A4B
Tritanopia (blue-blind)
#651A30
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f184d;
/* rgb */ color: rgb(95, 24, 77);
/* oklch */ color: oklch(34.7% 0.120 339.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c7f',
    500: '#5f184d',
    950: '#000000',
  },
}
SCSS
$custom: #5f184d;
$custom-light: #8f5c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f184d",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 315.211,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34671,
    "c": 0.1199,
    "h": 339.7
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#5F184D
secondary
#3D9554
accent
#E36D45
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F184D

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

Preview Lab → · Contrast checker → · Palette generator →

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