#5E1D52#5E1D52

#5E1D52 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.3% C 0.116 H 335.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#5E1D52
RGBrgb(94, 29, 82)
HSLhsl(311, 53%, 24%)
HSVhsv(311, 69%, 37%)
CMYKcmyk(0%, 69.1%, 12.8%, 63.1%)
CIE-LABlab(23.23, 36.19, -17.44)
CIE-LCHlch(23.23, 40.17, 334.27°)
OKLaboklab(35.34% 0.1057 -0.0474)
OKLCHoklch(35.34% 0.116 335.8)
XYZxyz(6.5785, 3.8682, 8.3812)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D52 #1D5E29
analogous
#4A1D5E #5E1D52 #5E1D32
triadic
#5E1D52 #525E1D #1D525E
tetradic
#5E1D52 #5E4A1D #1D5E29 #1D325E
square
#5E1D52 #5E4A1D #1D5E29 #1D325E
split-complementary
#5E1D52 #325E1D #1D5E4A
monochromatic
#170714 #2F0F29 #5E1D52 #8D2B7B #BC3AA4

Accessibility & contrast

On white

11.84
#5E1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D52
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D52#FFFFFF#000000##FFFFFF
##5E1D521.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3154
Deuteranopia (green-blind)
#323B50
Tritanopia (blue-blind)
#632134
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1d52;
/* rgb */ color: rgb(94, 29, 82);
/* oklch */ color: oklch(35.3% 0.116 335.8);
Tailwind
colors: {
  custom: {
    50: '#8e5e82',
    500: '#5e1d52',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d52;
$custom-light: #8e5e82;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d52",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 311.077,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35335,
    "c": 0.11584,
    "h": 335.8
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#5E1D52
secondary
#449352
accent
#DC664C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D050A
muted
#7D797C

Preview Lab

Preview with #5E1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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