#5F184A#5F184A

#5F184A is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.5% C 0.118 H 342.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#5F184A
RGBrgb(95, 24, 74)
HSLhsl(318, 60%, 23%)
HSVhsv(318, 75%, 37%)
CMYKcmyk(0%, 74.7%, 22.1%, 62.7%)
CIE-LABlab(22.24, 37.35, -13.57)
CIE-LCHlch(22.24, 39.74, 340.03°)
OKLaboklab(34.52% 0.1119 -0.0364)
OKLCHoklch(34.52% 0.118 342)
XYZxyz(6.2822, 3.5812, 6.8376)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F184A #185F2D
analogous
#50185F #5F184A #5F1826
triadic
#5F184A #4A5F18 #184A5F
tetradic
#5F184A #5F5018 #185F2D #18265F
square
#5F184A #5F5018 #185F2D #18265F
split-complementary
#5F184A #265F18 #185F50
monochromatic
#180613 #2E0C24 #5F184A #902470 #C13196

Accessibility & contrast

On white

12.24
#5F184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F184A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F184A#FFFFFF#000000##FFFFFF
##5F184A1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4B
Deuteranopia (green-blind)
#343948
Tritanopia (blue-blind)
#65192E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f184a;
/* rgb */ color: rgb(95, 24, 74);
/* oklch */ color: oklch(34.5% 0.118 342.0);
Tailwind
colors: {
  custom: {
    50: '#8f5c7c',
    500: '#5f184a',
    950: '#000000',
  },
}
SCSS
$custom: #5f184a;
$custom-light: #8f5c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f184a",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 317.746,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34516,
    "c": 0.11769,
    "h": 342
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#5F184A
secondary
#3D9557
accent
#E37445
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F184A

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

Preview Lab → · Contrast checker → · Palette generator →

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