#5E1A42#5E1A42

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

Color values

HEX#5E1A42
RGBrgb(94, 26, 66)
HSLhsl(325, 57%, 24%)
HSVhsv(325, 72%, 37%)
CMYKcmyk(0%, 72.3%, 29.8%, 63.1%)
CIE-LABlab(21.99, 35.00, -8.51)
CIE-LCHlch(21.99, 36.02, 346.34°)
OKLaboklab(34.18% 0.1063 -0.0224)
OKLCHoklch(34.18% 0.109 348.1)
XYZxyz(5.9691, 3.5125, 5.5168)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A42 #1A5E36
analogous
#581A5E #5E1A42 #5E1A20
triadic
#5E1A42 #425E1A #1A425E
tetradic
#5E1A42 #5E581A #1A5E36 #1A205E
square
#5E1A42 #5E581A #1A5E36 #1A205E
split-complementary
#5E1A42 #205E1A #1A5E58
monochromatic
#180711 #2E0D20 #5E1A42 #8E2764 #BE3585

Accessibility & contrast

On white

12.34
#5E1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1A42
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A42#FFFFFF#000000##FFFFFF
##5E1A421.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#373940
Tritanopia (blue-blind)
#65182B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1a42;
/* rgb */ color: rgb(94, 26, 66);
/* oklch */ color: oklch(34.2% 0.109 348.1);
Tailwind
colors: {
  custom: {
    50: '#8f5c76',
    500: '#5e1a42',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a42;
$custom-light: #8f5c76;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a42",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 324.706,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34181,
    "c": 0.10859,
    "h": 348.1
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#5E1A42
secondary
#409462
accent
#E08648
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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