#5F154B#5F154B

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

Color values

HEX#5F154B
RGBrgb(95, 21, 75)
HSLhsl(316, 64%, 23%)
HSVhsv(316, 78%, 37%)
CMYKcmyk(0%, 77.9%, 21.1%, 62.7%)
CIE-LABlab(21.86, 38.69, -14.83)
CIE-LCHlch(21.86, 41.43, 339.03°)
OKLaboklab(34.26% 0.1157 -0.0399)
OKLCHoklch(34.26% 0.122 341)
XYZxyz(6.2577, 3.4778, 6.9970)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F154B #155F29
analogous
#4E155F #5F154B #5F1526
triadic
#5F154B #4B5F15 #154B5F
tetradic
#5F154B #5F4E15 #155F29 #15265F
square
#5F154B #5F4E15 #155F29 #15265F
split-complementary
#5F154B #265F15 #155F4E
monochromatic
#190614 #2D0A23 #5F154B #912073 #C32B9A

Accessibility & contrast

On white

12.39
#5F154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F154B
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F154B#FFFFFF#000000##FFFFFF
##5F154B1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#323949
Tritanopia (blue-blind)
#65172E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f154b;
/* rgb */ color: rgb(95, 21, 75);
/* oklch */ color: oklch(34.3% 0.122 341.0);
Tailwind
colors: {
  custom: {
    50: '#8f5b7d',
    500: '#5f154b',
    950: '#000000',
  },
}
SCSS
$custom: #5f154b;
$custom-light: #8f5b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f154b",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 316.216,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.12241,
    "h": 341
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#5F154B
secondary
#3A9653
accent
#E76E41
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F154B

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

Preview Lab → · Contrast checker → · Palette generator →

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