#5F194D#5F194D

#5F194D is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.8% C 0.119 H 339.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#5F194D
RGBrgb(95, 25, 77)
HSLhsl(315, 58%, 24%)
HSVhsv(315, 74%, 37%)
CMYKcmyk(0%, 73.7%, 18.9%, 62.7%)
CIE-LABlab(22.53, 37.41, -15.15)
CIE-LCHlch(22.53, 40.36, 337.95°)
OKLaboklab(34.78% 0.1112 -0.0409)
OKLCHoklch(34.78% 0.119 339.8)
XYZxyz(6.4067, 3.6646, 7.3897)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F194D #195F2B
analogous
#4E195F #5F194D #5F192A
triadic
#5F194D #4D5F19 #194D5F
tetradic
#5F194D #5F4E19 #195F2B #192A5F
square
#5F194D #5F4E19 #195F2B #192A5F
split-complementary
#5F194D #2A5F19 #195F4E
monochromatic
#180614 #2F0C26 #5F194D #8F2674 #C0329C

Accessibility & contrast

On white

12.12
#5F194D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F194D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F194D#FFFFFF#000000##FFFFFF
##5F194D1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f194d;
/* rgb */ color: rgb(95, 25, 77);
/* oklch */ color: oklch(34.8% 0.119 339.8);
Tailwind
colors: {
  custom: {
    50: '#8f5c7f',
    500: '#5f194d',
    950: '#000000',
  },
}
SCSS
$custom: #5f194d;
$custom-light: #8f5c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f194d",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 77
  },
  "hsl": {
    "h": 315.429,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34778,
    "c": 0.11851,
    "h": 339.8
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#5F194D
secondary
#3F9555
accent
#E26E46
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F194D

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

Preview Lab → · Contrast checker → · Palette generator →

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