#5E1532#5E1532

#5E1532 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.108 H 1.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5E1532
RGBrgb(94, 21, 50)
HSLhsl(336, 63%, 23%)
HSVhsv(336, 78%, 37%)
CMYKcmyk(0%, 77.7%, 46.8%, 63.1%)
CIE-LABlab(20.62, 35.07, 0.56)
CIE-LCHlch(20.62, 35.08, 0.91°)
OKLaboklab(32.98% 0.1075 0.0018)
OKLCHoklch(32.98% 0.108 1)
XYZxyz(5.4604, 3.1470, 3.3369)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1532 #155E41
analogous
#5E1557 #5E1532 #5E1C15
triadic
#5E1532 #325E15 #15325E
tetradic
#5E1532 #575E15 #155E41 #1C155E
square
#5E1532 #575E15 #155E41 #1C155E
split-complementary
#5E1532 #155E1C #15575E
monochromatic
#19060D #2C0A17 #5E1532 #90204D #C22B67

Accessibility & contrast

On white

12.89
#5E1532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E1532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1532
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1532#FFFFFF#000000##FFFFFF
##5E15321.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252933
Deuteranopia (green-blind)
#393730
Tritanopia (blue-blind)
#670A21
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1532;
/* rgb */ color: rgb(94, 21, 50);
/* oklch */ color: oklch(33.0% 0.108 1.0);
Tailwind
colors: {
  custom: {
    50: '#905969',
    500: '#5e1532',
    950: '#000000',
  },
}
SCSS
$custom: #5e1532;
$custom-light: #905969;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1532",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 336.164,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32977,
    "c": 0.10755,
    "h": 1
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#5E1532
secondary
#399571
accent
#E7A541
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1532

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

Preview Lab → · Contrast checker → · Palette generator →

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