#5F194B#5F194B

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

Color values

HEX#5F194B
RGBrgb(95, 25, 75)
HSLhsl(317, 58%, 24%)
HSVhsv(317, 74%, 37%)
CMYKcmyk(0%, 73.7%, 21.1%, 62.7%)
CIE-LABlab(22.43, 37.09, -13.95)
CIE-LCHlch(22.43, 39.63, 339.39°)
OKLaboklab(34.67% 0.1109 -0.0375)
OKLCHoklch(34.67% 0.117 341.3)
XYZxyz(6.3371, 3.6368, 7.0235)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F194B #195F2D
analogous
#50195F #5F194B #5F1928
triadic
#5F194B #4B5F19 #194B5F
tetradic
#5F194B #5F5019 #195F2D #19285F
square
#5F194B #5F5019 #195F2D #19285F
split-complementary
#5F194B #285F19 #195F50
monochromatic
#180613 #2F0C25 #5F194B #8F2671 #C03297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F194B#FFFFFF#000000##FFFFFF
##5F194B1.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)
#1E2E4C
Deuteranopia (green-blind)
#343A49
Tritanopia (blue-blind)
#651A2F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f194b;
/* rgb */ color: rgb(95, 25, 75);
/* oklch */ color: oklch(34.7% 0.117 341.3);
Tailwind
colors: {
  custom: {
    50: '#8f5c7d',
    500: '#5f194b',
    950: '#000000',
  },
}
SCSS
$custom: #5f194b;
$custom-light: #8f5c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f194b",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 75
  },
  "hsl": {
    "h": 317.143,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34675,
    "c": 0.11702,
    "h": 341.3
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#5F194B
secondary
#3F9557
accent
#E27346
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F194B

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

Preview Lab → · Contrast checker → · Palette generator →

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