#5F194E#5F194E

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

Color values

HEX#5F194E
RGBrgb(95, 25, 78)
HSLhsl(315, 58%, 24%)
HSVhsv(315, 74%, 37%)
CMYKcmyk(0%, 73.7%, 17.9%, 62.7%)
CIE-LABlab(22.58, 37.57, -15.75)
CIE-LCHlch(22.58, 40.74, 337.26°)
OKLaboklab(34.83% 0.1114 -0.0426)
OKLCHoklch(34.83% 0.119 339.1)
XYZxyz(6.4422, 3.6788, 7.5770)
Luminance0.0368 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F194E #195F2A
analogous
#4D195F #5F194E #5F192B
triadic
#5F194E #4E5F19 #194E5F
tetradic
#5F194E #5F4D19 #195F2A #192B5F
square
#5F194E #5F4D19 #195F2A #192B5F
split-complementary
#5F194E #2B5F19 #195F4D
monochromatic
#180614 #2F0C26 #5F194E #8F2676 #C0329E

Accessibility & contrast

On white

12.10
#5F194E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F194E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F194E#FFFFFF#000000##FFFFFF
##5F194E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f194e;
/* rgb */ color: rgb(95, 25, 78);
/* oklch */ color: oklch(34.8% 0.119 339.1);
Tailwind
colors: {
  custom: {
    50: '#8f5c7f',
    500: '#5f194e',
    950: '#000000',
  },
}
SCSS
$custom: #5f194e;
$custom-light: #8f5c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f194e",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 78
  },
  "hsl": {
    "h": 314.571,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34831,
    "c": 0.11927,
    "h": 339.1
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#5F194E
secondary
#3F9554
accent
#E26C46
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F194E

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

Preview Lab → · Contrast checker → · Palette generator →

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