#5E1546#5E1546

#5E1546 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.118 H 344.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#5E1546
RGBrgb(94, 21, 70)
HSLhsl(320, 63%, 23%)
HSVhsv(320, 78%, 37%)
CMYKcmyk(0%, 77.7%, 25.5%, 63.1%)
CIE-LABlab(21.43, 37.65, -12.11)
CIE-LCHlch(21.43, 39.55, 342.17°)
OKLaboklab(33.83% 0.1137 -0.0323)
OKLCHoklch(33.83% 0.118 344.1)
XYZxyz(5.9900, 3.3588, 6.1260)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1546 #155E2D
analogous
#51155E #5E1546 #5E1522
triadic
#5E1546 #465E15 #15465E
tetradic
#5E1546 #5E5115 #155E2D #15225E
square
#5E1546 #5E5115 #155E2D #15225E
split-complementary
#5E1546 #225E15 #155E51
monochromatic
#190613 #2C0A21 #5E1546 #90206B #C22B91

Accessibility & contrast

On white

12.56
#5E1546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1546
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1546#FFFFFF#000000##FFFFFF
##5E15461.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C47
Deuteranopia (green-blind)
#333844
Tritanopia (blue-blind)
#65142B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1546;
/* rgb */ color: rgb(94, 21, 70);
/* oklch */ color: oklch(33.8% 0.118 344.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a79',
    500: '#5e1546',
    950: '#000000',
  },
}
SCSS
$custom: #5e1546;
$custom-light: #8f5a79;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1546",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 319.726,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33829,
    "c": 0.11816,
    "h": 344.1
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#5E1546
secondary
#399558
accent
#E77841
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1546

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

Preview Lab → · Contrast checker → · Palette generator →

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