#5F154A#5F154A

#5F154A is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.2% C 0.122 H 341.7°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#5F154A
RGBrgb(95, 21, 74)
HSLhsl(317, 64%, 23%)
HSVhsv(317, 78%, 37%)
CMYKcmyk(0%, 77.9%, 22.1%, 62.7%)
CIE-LABlab(21.81, 38.53, -14.22)
CIE-LCHlch(21.81, 41.08, 339.74°)
OKLaboklab(34.21% 0.1155 -0.0382)
OKLCHoklch(34.21% 0.122 341.7)
XYZxyz(6.2237, 3.4643, 6.8181)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F154A #155F2A
analogous
#4F155F #5F154A #5F1525
triadic
#5F154A #4A5F15 #154A5F
tetradic
#5F154A #5F4F15 #155F2A #15255F
square
#5F154A #5F4F15 #155F2A #15255F
split-complementary
#5F154A #255F15 #155F4F
monochromatic
#190614 #2D0A23 #5F154A #912071 #C32B98

Accessibility & contrast

On white

12.41
#5F154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F154A
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F154A#FFFFFF#000000##FFFFFF
##5F154A1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4B
Deuteranopia (green-blind)
#333948
Tritanopia (blue-blind)
#65162D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f154a;
/* rgb */ color: rgb(95, 21, 74);
/* oklch */ color: oklch(34.2% 0.122 341.7);
Tailwind
colors: {
  custom: {
    50: '#8f5b7c',
    500: '#5f154a',
    950: '#000000',
  },
}
SCSS
$custom: #5f154a;
$custom-light: #8f5b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f154a",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 317.027,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3421,
    "c": 0.1217,
    "h": 341.7
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#5F154A
secondary
#3A9654
accent
#E77041
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F154A

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

Preview Lab → · Contrast checker → · Palette generator →

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