#5E1A3E#5E1A3E

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

Color values

HEX#5E1A3E
RGBrgb(94, 26, 62)
HSLhsl(328, 57%, 24%)
HSVhsv(328, 72%, 37%)
CMYKcmyk(0%, 72.3%, 34%, 63.1%)
CIE-LABlab(21.82, 34.44, -6.01)
CIE-LCHlch(21.82, 34.96, 350.10°)
OKLaboklab(34.01% 0.1051 -0.0155)
OKLCHoklch(34.01% 0.106 351.6)
XYZxyz(5.8553, 3.4669, 4.9173)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A3E #1A5E3A
analogous
#5C1A5E #5E1A3E #5E1A1C
triadic
#5E1A3E #3E5E1A #1A3E5E
tetradic
#5E1A3E #5E5C1A #1A5E3A #1A1C5E
square
#5E1A3E #5E5C1A #1A5E3A #1A1C5E
split-complementary
#5E1A3E #1C5E1A #1A5E5C
monochromatic
#180710 #2E0D1E #5E1A3E #8E275E #BE357D

Accessibility & contrast

On white

12.40
#5E1A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E1A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A3E
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A3E#FFFFFF#000000##FFFFFF
##5E1A3E1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D3F
Deuteranopia (green-blind)
#38393C
Tritanopia (blue-blind)
#651629
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1a3e;
/* rgb */ color: rgb(94, 26, 62);
/* oklch */ color: oklch(34.0% 0.106 351.6);
Tailwind
colors: {
  custom: {
    50: '#8f5c73',
    500: '#5e1a3e',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a3e;
$custom-light: #8f5c73;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a3e",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 328.235,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34006,
    "c": 0.10621,
    "h": 351.6
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#5E1A3E
secondary
#409467
accent
#E08F48
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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