#5F184B#5F184B

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

Color values

HEX#5F184B
RGBrgb(95, 24, 75)
HSLhsl(317, 60%, 23%)
HSVhsv(317, 75%, 37%)
CMYKcmyk(0%, 74.7%, 21.1%, 62.7%)
CIE-LABlab(22.28, 37.51, -14.18)
CIE-LCHlch(22.28, 40.10, 339.29°)
OKLaboklab(34.57% 0.1121 -0.0381)
OKLCHoklch(34.57% 0.118 341.2)
XYZxyz(6.3161, 3.5948, 7.0165)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F184B #185F2C
analogous
#4F185F #5F184B #5F1827
triadic
#5F184B #4B5F18 #184B5F
tetradic
#5F184B #5F4F18 #185F2C #18275F
square
#5F184B #5F4F18 #185F2C #18275F
split-complementary
#5F184B #275F18 #185F4F
monochromatic
#180613 #2E0C24 #5F184B #902472 #C13198

Accessibility & contrast

On white

12.22
#5F184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F184B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F184B#FFFFFF#000000##FFFFFF
##5F184B1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4C
Deuteranopia (green-blind)
#343949
Tritanopia (blue-blind)
#65192F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f184b;
/* rgb */ color: rgb(95, 24, 75);
/* oklch */ color: oklch(34.6% 0.118 341.2);
Tailwind
colors: {
  custom: {
    50: '#8f5c7d',
    500: '#5f184b',
    950: '#000000',
  },
}
SCSS
$custom: #5f184b;
$custom-light: #8f5c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f184b",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 316.901,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34567,
    "c": 0.11842,
    "h": 341.2
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#5F184B
secondary
#3D9556
accent
#E37145
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F184B

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

Preview Lab → · Contrast checker → · Palette generator →

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