#5F1652#5F1652

#5F1652 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.7% C 0.126 H 336.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#5F1652
RGBrgb(95, 22, 82)
HSLhsl(311, 62%, 23%)
HSVhsv(311, 77%, 37%)
CMYKcmyk(0%, 76.8%, 13.7%, 62.7%)
CIE-LABlab(22.36, 39.43, -18.78)
CIE-LCHlch(22.36, 43.67, 334.53°)
OKLaboklab(34.74% 0.1156 -0.0512)
OKLCHoklch(34.74% 0.126 336.1)
XYZxyz(6.5293, 3.6165, 8.3352)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1652 #165F23
analogous
#47165F #5F1652 #5F162D
triadic
#5F1652 #525F16 #16525F
tetradic
#5F1652 #5F4716 #165F23 #162D5F
square
#5F1652 #5F4716 #165F23 #162D5F
split-complementary
#5F1652 #2D5F16 #165F47
monochromatic
#190615 #2D0A27 #5F1652 #91227D #C22DA8

Accessibility & contrast

On white

12.19
#5F1652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1652
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1652#FFFFFF#000000##FFFFFF
##5F16521.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E54
Deuteranopia (green-blind)
#303950
Tritanopia (blue-blind)
#641B32
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1652;
/* rgb */ color: rgb(95, 22, 82);
/* oklch */ color: oklch(34.7% 0.126 336.1);
Tailwind
colors: {
  custom: {
    50: '#8f5b83',
    500: '#5f1652',
    950: '#000000',
  },
}
SCSS
$custom: #5f1652;
$custom-light: #8f5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1652",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 310.685,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3474,
    "c": 0.12642,
    "h": 336.1
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#5F1652
secondary
#3B964B
accent
#E55F42
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1652

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

Preview Lab → · Contrast checker → · Palette generator →

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