#5F184F#5F184F

#5F184F is a dark, vivid pink. Relative luminance 0.037; OKLCH L 34.8% C 0.121 H 338.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#5F184F
RGBrgb(95, 24, 79)
HSLhsl(314, 60%, 23%)
HSVhsv(314, 75%, 37%)
CMYKcmyk(0%, 74.7%, 16.8%, 62.7%)
CIE-LABlab(22.48, 38.14, -16.57)
CIE-LCHlch(22.48, 41.59, 336.52°)
OKLaboklab(34.78% 0.1128 -0.0449)
OKLCHoklch(34.78% 0.121 338.3)
XYZxyz(6.4574, 3.6513, 7.7603)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F184F #185F28
analogous
#4B185F #5F184F #5F182B
triadic
#5F184F #4F5F18 #184F5F
tetradic
#5F184F #5F4B18 #185F28 #182B5F
square
#5F184F #5F4B18 #185F28 #182B5F
split-complementary
#5F184F #2B5F18 #185F4B
monochromatic
#180614 #2E0C26 #5F184F #902478 #C131A0

Accessibility & contrast

On white

12.14
#5F184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5F184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F184F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F184F#FFFFFF#000000##FFFFFF
##5F184F1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F51
Deuteranopia (green-blind)
#323A4D
Tritanopia (blue-blind)
#651B31
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f184f;
/* rgb */ color: rgb(95, 24, 79);
/* oklch */ color: oklch(34.8% 0.121 338.3);
Tailwind
colors: {
  custom: {
    50: '#8f5c80',
    500: '#5f184f',
    950: '#000000',
  },
}
SCSS
$custom: #5f184f;
$custom-light: #8f5c80;
$custom-dark: #000000;
JSON
{
  "hex": "#5f184f",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 313.521,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34777,
    "c": 0.12143,
    "h": 338.3
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#5F184F
secondary
#3D9551
accent
#E36945
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F184F

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

Preview Lab → · Contrast checker → · Palette generator →

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