#5E1142#5E1142

#5E1142 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.120 H 346.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#5E1142
RGBrgb(94, 17, 66)
HSLhsl(322, 69%, 22%)
HSVhsv(322, 82%, 37%)
CMYKcmyk(0%, 81.9%, 29.8%, 63.1%)
CIE-LABlab(20.73, 38.53, -10.43)
CIE-LCHlch(20.73, 39.92, 344.86°)
OKLaboklab(33.26% 0.1173 -0.0276)
OKLCHoklch(33.26% 0.12 346.8)
XYZxyz(5.8002, 3.1746, 5.4605)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1142 #115E2D
analogous
#54115E #5E1142 #5E111C
triadic
#5E1142 #425E11 #11425E
tetradic
#5E1142 #5E5411 #115E2D #111C5E
square
#5E1142 #5E5411 #115E2D #111C5E
split-complementary
#5E1142 #1C5E11 #115E54
monochromatic
#1A0512 #2A081E #5E1142 #921A66 #C6248B

Accessibility & contrast

On white

12.85
#5E1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1142
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1142#FFFFFF#000000##FFFFFF
##5E11421.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#333740
Tritanopia (blue-blind)
#650E28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1142;
/* rgb */ color: rgb(94, 17, 66);
/* oklch */ color: oklch(33.3% 0.120 346.8);
Tailwind
colors: {
  custom: {
    50: '#8f5876',
    500: '#5e1142',
    950: '#000000',
  },
}
SCSS
$custom: #5e1142;
$custom-light: #8f5876;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1142",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 321.818,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33261,
    "c": 0.12045,
    "h": 346.8
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#5E1142
secondary
#349758
accent
#EC7C3C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1142

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

Preview Lab → · Contrast checker → · Palette generator →

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