#5E1849#5E1849

#5E1849 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.3% C 0.116 H 342.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#5E1849
RGBrgb(94, 24, 73)
HSLhsl(318, 59%, 23%)
HSVhsv(318, 74%, 37%)
CMYKcmyk(0%, 74.5%, 22.3%, 63.1%)
CIE-LABlab(22.00, 36.90, -13.28)
CIE-LCHlch(22.00, 39.22, 340.21°)
OKLaboklab(34.29% 0.1106 -0.0356)
OKLCHoklch(34.29% 0.116 342.2)
XYZxyz(6.1455, 3.5146, 6.6568)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1849 #185E2D
analogous
#50185E #5E1849 #5E1826
triadic
#5E1849 #495E18 #18495E
tetradic
#5E1849 #5E5018 #185E2D #18265E
square
#5E1849 #5E5018 #185E2D #18265E
split-complementary
#5E1849 #265E18 #185E50
monochromatic
#180613 #2D0C23 #5E1849 #8F246F #C03195

Accessibility & contrast

On white

12.33
#5E1849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1849
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1849#FFFFFF#000000##FFFFFF
##5E18491.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D4A
Deuteranopia (green-blind)
#343947
Tritanopia (blue-blind)
#64192E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1849;
/* rgb */ color: rgb(94, 24, 73);
/* oklch */ color: oklch(34.3% 0.116 342.2);
Tailwind
colors: {
  custom: {
    50: '#8e5c7c',
    500: '#5e1849',
    950: '#000000',
  },
}
SCSS
$custom: #5e1849;
$custom-light: #8e5c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1849",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 318,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3429,
    "c": 0.11621,
    "h": 342.2
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#5E1849
secondary
#3D9457
accent
#E37445
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1849

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

Preview Lab → · Contrast checker → · Palette generator →

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