#5E1848#5E1848

#5E1848 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.115 H 342.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#5E1848
RGBrgb(94, 24, 72)
HSLhsl(319, 59%, 23%)
HSVhsv(319, 74%, 37%)
CMYKcmyk(0%, 74.5%, 23.4%, 63.1%)
CIE-LABlab(21.95, 36.75, -12.67)
CIE-LCHlch(21.95, 38.87, 340.98°)
OKLaboklab(34.24% 0.1104 -0.0339)
OKLCHoklch(34.24% 0.115 342.9)
XYZxyz(6.1126, 3.5014, 6.4836)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1848 #185E2E
analogous
#51185E #5E1848 #5E1825
triadic
#5E1848 #485E18 #18485E
tetradic
#5E1848 #5E5118 #185E2E #18255E
square
#5E1848 #5E5118 #185E2E #18255E
split-complementary
#5E1848 #255E18 #185E51
monochromatic
#180613 #2D0C23 #5E1848 #8F246D #C03193

Accessibility & contrast

On white

12.35
#5E1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1848
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1848#FFFFFF#000000##FFFFFF
##5E18481.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2D49
Deuteranopia (green-blind)
#343946
Tritanopia (blue-blind)
#64182D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1848;
/* rgb */ color: rgb(94, 24, 72);
/* oklch */ color: oklch(34.2% 0.115 342.9);
Tailwind
colors: {
  custom: {
    50: '#8e5c7b',
    500: '#5e1848',
    950: '#000000',
  },
}
SCSS
$custom: #5e1848;
$custom-light: #8e5c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1848",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 318.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3424,
    "c": 0.11549,
    "h": 342.9
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#5E1848
secondary
#3D9459
accent
#E37745
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1848

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

Preview Lab → · Contrast checker → · Palette generator →

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