#5E1A32#5E1A32

#5E1A32 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.101 H 2.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#5E1A32
RGBrgb(94, 26, 50)
HSLhsl(339, 57%, 24%)
HSVhsv(339, 72%, 37%)
CMYKcmyk(0%, 72.3%, 46.8%, 63.1%)
CIE-LABlab(21.39, 32.94, 1.67)
CIE-LCHlch(21.39, 32.98, 2.90°)
OKLaboklab(33.55% 0.1007 0.0047)
OKLCHoklch(33.55% 0.101 2.7)
XYZxyz(5.5616, 3.3494, 3.3706)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A32 #1A5E46
analogous
#5E1A54 #5E1A32 #5E241A
triadic
#5E1A32 #325E1A #1A325E
tetradic
#5E1A32 #545E1A #1A5E46 #241A5E
square
#5E1A32 #545E1A #1A5E46 #241A5E
split-complementary
#5E1A32 #1A5E24 #1A545E
monochromatic
#18070D #2E0D18 #5E1A32 #8E274B #BE3565

Accessibility & contrast

On white

12.58
#5E1A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1A32
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A32#FFFFFF#000000##FFFFFF
##5E1A321.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B33
Deuteranopia (green-blind)
#3A3830
Tritanopia (blue-blind)
#661124
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1a32;
/* rgb */ color: rgb(94, 26, 50);
/* oklch */ color: oklch(33.5% 0.101 2.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c69',
    500: '#5e1a32',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a32;
$custom-light: #8f5c69;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a32",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 338.824,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33545,
    "c": 0.10085,
    "h": 2.7
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#5E1A32
secondary
#409476
accent
#E0AA48
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1A32

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

Preview Lab → · Contrast checker → · Palette generator →

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