#5E1847#5E1847

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

Color values

HEX#5E1847
RGBrgb(94, 24, 71)
HSLhsl(320, 59%, 23%)
HSVhsv(320, 74%, 37%)
CMYKcmyk(0%, 74.5%, 24.5%, 63.1%)
CIE-LABlab(21.90, 36.60, -12.06)
CIE-LCHlch(21.90, 38.53, 341.76°)
OKLaboklab(34.19% 0.1102 -0.0322)
OKLCHoklch(34.19% 0.115 343.7)
XYZxyz(6.0803, 3.4885, 6.3131)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1847 #185E2F
analogous
#52185E #5E1847 #5E1824
triadic
#5E1847 #475E18 #18475E
tetradic
#5E1847 #5E5218 #185E2F #18245E
square
#5E1847 #5E5218 #185E2F #18245E
split-complementary
#5E1847 #245E18 #185E52
monochromatic
#180612 #2D0C22 #5E1847 #8F246C #C03191

Accessibility & contrast

On white

12.37
#5E1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1847
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1847#FFFFFF#000000##FFFFFF
##5E18471.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2D48
Deuteranopia (green-blind)
#343945
Tritanopia (blue-blind)
#64182D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1847;
/* rgb */ color: rgb(94, 24, 71);
/* oklch */ color: oklch(34.2% 0.115 343.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c7a',
    500: '#5e1847',
    950: '#000000',
  },
}
SCSS
$custom: #5e1847;
$custom-light: #8f5c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1847",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 319.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34191,
    "c": 0.1148,
    "h": 343.7
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#5E1847
secondary
#3D945A
accent
#E37945
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1847

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

Preview Lab → · Contrast checker → · Palette generator →

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