#5E1548#5E1548

#5E1548 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.9% C 0.120 H 342.6°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#5E1548
RGBrgb(94, 21, 72)
HSLhsl(318, 63%, 23%)
HSVhsv(318, 78%, 37%)
CMYKcmyk(0%, 77.7%, 23.4%, 63.1%)
CIE-LABlab(21.52, 37.95, -13.33)
CIE-LCHlch(21.52, 40.22, 340.65°)
OKLaboklab(33.93% 0.1141 -0.0357)
OKLCHoklch(33.93% 0.12 342.6)
XYZxyz(6.0542, 3.3845, 6.4641)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1548 #155E2B
analogous
#4F155E #5E1548 #5E1524
triadic
#5E1548 #485E15 #15485E
tetradic
#5E1548 #5E4F15 #155E2B #15245E
square
#5E1548 #5E4F15 #155E2B #15245E
split-complementary
#5E1548 #245E15 #155E4F
monochromatic
#190613 #2C0A22 #5E1548 #90206E #C22B95

Accessibility & contrast

On white

12.52
#5E1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1548
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1548#FFFFFF#000000##FFFFFF
##5E15481.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2C49
Deuteranopia (green-blind)
#333846
Tritanopia (blue-blind)
#64162C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1548;
/* rgb */ color: rgb(94, 21, 72);
/* oklch */ color: oklch(33.9% 0.120 342.6);
Tailwind
colors: {
  custom: {
    50: '#8f5a7b',
    500: '#5e1548',
    950: '#000000',
  },
}
SCSS
$custom: #5e1548;
$custom-light: #8f5a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1548",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 318.082,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33929,
    "c": 0.11954,
    "h": 342.6
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#5E1548
secondary
#399555
accent
#E77341
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1548

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

Preview Lab → · Contrast checker → · Palette generator →

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