#5F1350#5F1350

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

Color values

HEX#5F1350
RGBrgb(95, 19, 80)
HSLhsl(312, 67%, 22%)
HSVhsv(312, 80%, 37%)
CMYKcmyk(0%, 80%, 15.8%, 62.7%)
CIE-LABlab(21.87, 40.20, -18.21)
CIE-LCHlch(21.87, 44.13, 335.63°)
OKLaboklab(34.35% 0.1187 -0.0495)
OKLCHoklch(34.35% 0.129 337.4)
XYZxyz(6.4003, 3.4784, 7.9222)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1350 #135F22
analogous
#48135F #5F1350 #5F132A
triadic
#5F1350 #505F13 #13505F
tetradic
#5F1350 #5F4813 #135F22 #132A5F
square
#5F1350 #5F4813 #135F22 #132A5F
split-complementary
#5F1350 #2A5F13 #135F48
monochromatic
#1A0515 #2C0925 #5F1350 #921D7B #C527A6

Accessibility & contrast

On white

12.38
#5F1350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1350
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1350#FFFFFF#000000##FFFFFF
##5F13501.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D52
Deuteranopia (green-blind)
#30394E
Tritanopia (blue-blind)
#651830
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1350;
/* rgb */ color: rgb(95, 19, 80);
/* oklch */ color: oklch(34.3% 0.129 337.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a81',
    500: '#5f1350',
    950: '#000000',
  },
}
SCSS
$custom: #5f1350;
$custom-light: #8f5a81;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1350",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 311.842,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34348,
    "c": 0.12857,
    "h": 337.4
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#5F1350
secondary
#37974A
accent
#EA603E
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1350

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

Preview Lab → · Contrast checker → · Palette generator →

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