#5F194F#5F194F

#5F194F is a dark, vivid pink. Relative luminance 0.037; OKLCH L 34.9% C 0.120 H 338.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#5F194F
RGBrgb(95, 25, 79)
HSLhsl(314, 58%, 24%)
HSVhsv(314, 74%, 37%)
CMYKcmyk(0%, 73.7%, 16.8%, 62.7%)
CIE-LABlab(22.63, 37.73, -16.34)
CIE-LCHlch(22.63, 41.12, 336.58°)
OKLaboklab(34.88% 0.1116 -0.0442)
OKLCHoklch(34.88% 0.12 338.4)
XYZxyz(6.4784, 3.6933, 7.7673)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F194F #195F29
analogous
#4C195F #5F194F #5F192C
triadic
#5F194F #4F5F19 #194F5F
tetradic
#5F194F #5F4C19 #195F29 #192C5F
square
#5F194F #5F4C19 #195F29 #192C5F
split-complementary
#5F194F #2C5F19 #195F4C
monochromatic
#180614 #2F0C27 #5F194F #8F2677 #C032A0

Accessibility & contrast

On white

12.08
#5F194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5F194F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F194F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F194F#FFFFFF#000000##FFFFFF
##5F194F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F51
Deuteranopia (green-blind)
#333A4D
Tritanopia (blue-blind)
#651C31
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f194f;
/* rgb */ color: rgb(95, 25, 79);
/* oklch */ color: oklch(34.9% 0.120 338.4);
Tailwind
colors: {
  custom: {
    50: '#8f5c80',
    500: '#5f194f',
    950: '#000000',
  },
}
SCSS
$custom: #5f194f;
$custom-light: #8f5c80;
$custom-dark: #000000;
JSON
{
  "hex": "#5f194f",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 313.714,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34884,
    "c": 0.12004,
    "h": 338.4
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#5F194F
secondary
#3F9552
accent
#E26A46
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F194F

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

Preview Lab → · Contrast checker → · Palette generator →

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