#5E1048#5E1048

#5E1048 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.126 H 342.2°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5E1048
RGBrgb(94, 16, 72)
HSLhsl(317, 71%, 22%)
HSVhsv(317, 83%, 37%)
CMYKcmyk(0%, 83%, 23.4%, 63.1%)
CIE-LABlab(20.90, 39.72, -14.29)
CIE-LCHlch(20.90, 42.21, 340.21°)
OKLaboklab(33.48% 0.1195 -0.0384)
OKLCHoklch(33.48% 0.126 342.2)
XYZxyz(5.9713, 3.2188, 6.4364)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1048 #105E26
analogous
#4D105E #5E1048 #5E1021
triadic
#5E1048 #485E10 #10485E
tetradic
#5E1048 #5E4D10 #105E26 #10215E
square
#5E1048 #5E4D10 #105E26 #10215E
split-complementary
#5E1048 #215E10 #105E4D
monochromatic
#1A0414 #2A0720 #5E1048 #921970 #C72298

Accessibility & contrast

On white

12.78
#5E1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E1048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1048
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1048#FFFFFF#000000##FFFFFF
##5E10481.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A49
Deuteranopia (green-blind)
#313746
Tritanopia (blue-blind)
#64112B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1048;
/* rgb */ color: rgb(94, 16, 72);
/* oklch */ color: oklch(33.5% 0.126 342.2);
Tailwind
colors: {
  custom: {
    50: '#8f587b',
    500: '#5e1048',
    950: '#000000',
  },
}
SCSS
$custom: #5e1048;
$custom-light: #8f587b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1048",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 316.923,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33478,
    "c": 0.12551,
    "h": 342.2
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#5E1048
secondary
#33974F
accent
#EE6D3A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1048

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

Preview Lab → · Contrast checker → · Palette generator →

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