#5F1550#5F1550

#5F1550 is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.5% C 0.126 H 337.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#5F1550
RGBrgb(95, 21, 80)
HSLhsl(312, 64%, 23%)
HSVhsv(312, 78%, 37%)
CMYKcmyk(0%, 77.9%, 15.8%, 62.7%)
CIE-LABlab(22.12, 39.48, -17.81)
CIE-LCHlch(22.12, 43.31, 335.72°)
OKLaboklab(34.53% 0.1165 -0.0484)
OKLCHoklch(34.53% 0.126 337.4)
XYZxyz(6.4356, 3.5490, 7.9340)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1550 #155F24
analogous
#49155F #5F1550 #5F152B
triadic
#5F1550 #505F15 #15505F
tetradic
#5F1550 #5F4915 #155F24 #152B5F
square
#5F1550 #5F4915 #155F24 #152B5F
split-complementary
#5F1550 #2B5F15 #155F49
monochromatic
#190615 #2D0A26 #5F1550 #91207A #C32BA4

Accessibility & contrast

On white

12.28
#5F1550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F1550 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1550
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1550#FFFFFF#000000##FFFFFF
##5F15501.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E52
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#641930
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1550;
/* rgb */ color: rgb(95, 21, 80);
/* oklch */ color: oklch(34.5% 0.126 337.4);
Tailwind
colors: {
  custom: {
    50: '#8f5b81',
    500: '#5f1550',
    950: '#000000',
  },
}
SCSS
$custom: #5f1550;
$custom-light: #8f5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1550",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 312.162,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34531,
    "c": 0.12613,
    "h": 337.4
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#5F1550
secondary
#3A964C
accent
#E76341
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1550

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

Preview Lab → · Contrast checker → · Palette generator →

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