#5E1652#5E1652

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

Color values

HEX#5E1652
RGBrgb(94, 22, 82)
HSLhsl(310, 62%, 23%)
HSVhsv(310, 77%, 37%)
CMYKcmyk(0%, 76.6%, 12.8%, 63.1%)
CIE-LABlab(22.17, 39.16, -19.09)
CIE-LCHlch(22.17, 43.56, 334.01°)
OKLaboklab(34.57% 0.1145 -0.0521)
OKLCHoklch(34.57% 0.126 335.5)
XYZxyz(6.4261, 3.5633, 8.3303)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1652 #165E22
analogous
#46165E #5E1652 #5E162E
triadic
#5E1652 #525E16 #16525E
tetradic
#5E1652 #5E4616 #165E22 #162E5E
square
#5E1652 #5E4616 #165E22 #162E5E
split-complementary
#5E1652 #2E5E16 #165E46
monochromatic
#190616 #2C0A27 #5E1652 #90227D #C12DA9

Accessibility & contrast

On white

12.26
#5E1652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1652
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1652#FFFFFF#000000##FFFFFF
##5E16521.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#2F3950
Tritanopia (blue-blind)
#631B32
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1652;
/* rgb */ color: rgb(94, 22, 82);
/* oklch */ color: oklch(34.6% 0.126 335.5);
Tailwind
colors: {
  custom: {
    50: '#8e5b83',
    500: '#5e1652',
    950: '#000000',
  },
}
SCSS
$custom: #5e1652;
$custom-light: #8e5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1652",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 310,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34567,
    "c": 0.12576,
    "h": 335.5
  },
  "luminance": 0.03563
}

Semantic roles & 50–950 ramp

primary
#5E1652
secondary
#3B954A
accent
#E55E43
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1652

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

Preview Lab → · Contrast checker → · Palette generator →

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