#5E1A3F#5E1A3F

#5E1A3F is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.0% C 0.107 H 350.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#5E1A3F
RGBrgb(94, 26, 63)
HSLhsl(327, 57%, 24%)
HSVhsv(327, 72%, 37%)
CMYKcmyk(0%, 72.3%, 33%, 63.1%)
CIE-LABlab(21.86, 34.57, -6.64)
CIE-LCHlch(21.86, 35.20, 349.13°)
OKLaboklab(34.05% 0.1054 -0.0172)
OKLCHoklch(34.05% 0.107 350.7)
XYZxyz(5.8830, 3.4780, 5.0632)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A3F #1A5E39
analogous
#5B1A5E #5E1A3F #5E1A1D
triadic
#5E1A3F #3F5E1A #1A3F5E
tetradic
#5E1A3F #5E5B1A #1A5E39 #1A1D5E
square
#5E1A3F #5E5B1A #1A5E39 #1A1D5E
split-complementary
#5E1A3F #1D5E1A #1A5E5B
monochromatic
#180710 #2E0D1F #5E1A3F #8E275F #BE357F

Accessibility & contrast

On white

12.39
#5E1A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1A3F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A3F#FFFFFF#000000##FFFFFF
##5E1A3F1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D40
Deuteranopia (green-blind)
#37393D
Tritanopia (blue-blind)
#65162A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1a3f;
/* rgb */ color: rgb(94, 26, 63);
/* oklch */ color: oklch(34.0% 0.107 350.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c74',
    500: '#5e1a3f',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a3f;
$custom-light: #8f5c74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a3f",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 327.353,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34049,
    "c": 0.10678,
    "h": 350.7
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#5E1A3F
secondary
#409466
accent
#E08D48
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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