#5E1839#5E1839

#5E1839 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.106 H 355.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5E1839
RGBrgb(94, 24, 57)
HSLhsl(332, 59%, 23%)
HSVhsv(332, 74%, 37%)
CMYKcmyk(0%, 74.5%, 39.4%, 63.1%)
CIE-LABlab(21.32, 34.66, -3.31)
CIE-LCHlch(21.32, 34.81, 354.54°)
OKLaboklab(33.57% 0.1062 -0.0083)
OKLCHoklch(33.57% 0.106 355.5)
XYZxyz(5.6816, 3.3290, 4.2135)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1839 #185E3D
analogous
#5E185C #5E1839 #5E1A18
triadic
#5E1839 #395E18 #18395E
tetradic
#5E1839 #5C5E18 #185E3D #1A185E
square
#5E1839 #5C5E18 #185E3D #1A185E
split-complementary
#5E1839 #185E1A #185C5E
monochromatic
#18060F #2D0C1B #5E1839 #8F2457 #C03174

Accessibility & contrast

On white

12.61
#5E1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E1839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1839
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1839#FFFFFF#000000##FFFFFF
##5E18391.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3A
Deuteranopia (green-blind)
#383837
Tritanopia (blue-blind)
#661126
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1839;
/* rgb */ color: rgb(94, 24, 57);
/* oklch */ color: oklch(33.6% 0.106 355.5);
Tailwind
colors: {
  custom: {
    50: '#8f5b6f',
    500: '#5e1839',
    950: '#000000',
  },
}
SCSS
$custom: #5e1839;
$custom-light: #8f5b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1839",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 331.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33568,
    "c": 0.10647,
    "h": 355.5
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#5E1839
secondary
#3D946B
accent
#E39845
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1839

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

Preview Lab → · Contrast checker → · Palette generator →

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