#5F1650#5F1650

#5F1650 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.6% C 0.125 H 337.5°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#5F1650
RGBrgb(95, 22, 80)
HSLhsl(312, 62%, 23%)
HSVhsv(312, 77%, 37%)
CMYKcmyk(0%, 76.8%, 15.8%, 62.7%)
CIE-LABlab(22.25, 39.10, -17.60)
CIE-LCHlch(22.25, 42.88, 335.76°)
OKLaboklab(34.63% 0.1154 -0.0478)
OKLCHoklch(34.63% 0.125 337.5)
XYZxyz(6.4543, 3.5865, 7.9402)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1650 #165F25
analogous
#49165F #5F1650 #5F162B
triadic
#5F1650 #505F16 #16505F
tetradic
#5F1650 #5F4916 #165F25 #162B5F
square
#5F1650 #5F4916 #165F25 #162B5F
split-complementary
#5F1650 #2B5F16 #165F49
monochromatic
#190615 #2D0A26 #5F1650 #91227A #C22DA4

Accessibility & contrast

On white

12.23
#5F1650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5F1650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1650
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1650#FFFFFF#000000##FFFFFF
##5F16501.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E52
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#641A31
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1650;
/* rgb */ color: rgb(95, 22, 80);
/* oklch */ color: oklch(34.6% 0.125 337.5);
Tailwind
colors: {
  custom: {
    50: '#8f5b81',
    500: '#5f1650',
    950: '#000000',
  },
}
SCSS
$custom: #5f1650;
$custom-light: #8f5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1650",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 312.329,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34628,
    "c": 0.12487,
    "h": 337.5
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#5F1650
secondary
#3B964E
accent
#E56442
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1650

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

Preview Lab → · Contrast checker → · Palette generator →

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