#5E1952#5E1952

#5E1952 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 34.9% C 0.122 H 335.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#5E1952
RGBrgb(94, 25, 82)
HSLhsl(310, 58%, 23%)
HSVhsv(310, 73%, 37%)
CMYKcmyk(0%, 73.4%, 12.8%, 63.1%)
CIE-LABlab(22.60, 37.95, -18.42)
CIE-LCHlch(22.60, 42.18, 334.11°)
OKLaboklab(34.88% 0.1109 -0.0502)
OKLCHoklch(34.88% 0.122 335.6)
XYZxyz(6.4868, 3.6847, 8.3506)
Luminance0.0368 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1952 #195E25
analogous
#47195E #5E1952 #5E192F
triadic
#5E1952 #525E19 #19525E
tetradic
#5E1952 #5E4719 #195E25 #192F5E
square
#5E1952 #5E4719 #195E25 #192F5E
split-complementary
#5E1952 #2F5E19 #195E47
monochromatic
#180615 #2E0C28 #5E1952 #8E267C #BF33A6

Accessibility & contrast

On white

12.09
#5E1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5E1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1952
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1952#FFFFFF#000000##FFFFFF
##5E19521.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F54
Deuteranopia (green-blind)
#313A50
Tritanopia (blue-blind)
#631E33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1952;
/* rgb */ color: rgb(94, 25, 82);
/* oklch */ color: oklch(34.9% 0.122 335.6);
Tailwind
colors: {
  custom: {
    50: '#8e5c83',
    500: '#5e1952',
    950: '#000000',
  },
}
SCSS
$custom: #5e1952;
$custom-light: #8e5c83;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1952",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 310.435,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34877,
    "c": 0.12172,
    "h": 335.6
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#5E1952
secondary
#3F944D
accent
#E16147
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1952

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

Preview Lab → · Contrast checker → · Palette generator →

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