#5F184E#5F184E

#5F184E is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.7% C 0.121 H 339.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#5F184E
RGBrgb(95, 24, 78)
HSLhsl(314, 60%, 23%)
HSVhsv(314, 75%, 37%)
CMYKcmyk(0%, 74.7%, 17.9%, 62.7%)
CIE-LABlab(22.43, 37.98, -15.98)
CIE-LCHlch(22.43, 41.21, 337.19°)
OKLaboklab(34.72% 0.1127 -0.0432)
OKLCHoklch(34.72% 0.121 339)
XYZxyz(6.4212, 3.6368, 7.5700)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F184E #185F29
analogous
#4C185F #5F184E #5F182A
triadic
#5F184E #4E5F18 #184E5F
tetradic
#5F184E #5F4C18 #185F29 #182A5F
square
#5F184E #5F4C18 #185F29 #182A5F
split-complementary
#5F184E #2A5F18 #185F4C
monochromatic
#180614 #2E0C26 #5F184E #902476 #C1319E

Accessibility & contrast

On white

12.16
#5F184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F184E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F184E#FFFFFF#000000##FFFFFF
##5F184E1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E50
Deuteranopia (green-blind)
#333A4C
Tritanopia (blue-blind)
#651B30
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f184e;
/* rgb */ color: rgb(95, 24, 78);
/* oklch */ color: oklch(34.7% 0.121 339.0);
Tailwind
colors: {
  custom: {
    50: '#8f5c7f',
    500: '#5f184e',
    950: '#000000',
  },
}
SCSS
$custom: #5f184e;
$custom-light: #8f5c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f184e",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 314.366,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34723,
    "c": 0.12067,
    "h": 339
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#5F184E
secondary
#3D9552
accent
#E36B45
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F184E

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

Preview Lab → · Contrast checker → · Palette generator →

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