#5E1A44#5E1A44

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

Color values

HEX#5E1A44
RGBrgb(94, 26, 68)
HSLhsl(323, 57%, 24%)
HSVhsv(323, 72%, 37%)
CMYKcmyk(0%, 72.3%, 27.7%, 63.1%)
CIE-LABlab(22.08, 35.29, -9.75)
CIE-LCHlch(22.08, 36.61, 344.56°)
OKLaboklab(34.27% 0.1068 -0.0258)
OKLCHoklch(34.27% 0.11 346.4)
XYZxyz(6.0291, 3.5364, 5.8328)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A44 #1A5E34
analogous
#561A5E #5E1A44 #5E1A22
triadic
#5E1A44 #445E1A #1A445E
tetradic
#5E1A44 #5E561A #1A5E34 #1A225E
square
#5E1A44 #5E561A #1A5E34 #1A225E
split-complementary
#5E1A44 #225E1A #1A5E56
monochromatic
#180711 #2E0D21 #5E1A44 #8E2767 #BE3589

Accessibility & contrast

On white

12.30
#5E1A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E1A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A44
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A44#FFFFFF#000000##FFFFFF
##5E1A441.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222D45
Deuteranopia (green-blind)
#363942
Tritanopia (blue-blind)
#65182C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1a44;
/* rgb */ color: rgb(94, 26, 68);
/* oklch */ color: oklch(34.3% 0.110 346.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c78',
    500: '#5e1a44',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a44;
$custom-light: #8e5c78;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a44",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 322.941,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34273,
    "c": 0.10987,
    "h": 346.4
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#5E1A44
secondary
#409460
accent
#E08248
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1A44

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

Preview Lab → · Contrast checker → · Palette generator →

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