#5E1145#5E1145

#5E1145 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.122 H 344.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#5E1145
RGBrgb(94, 17, 69)
HSLhsl(319, 69%, 22%)
HSVhsv(319, 82%, 37%)
CMYKcmyk(0%, 81.9%, 26.6%, 63.1%)
CIE-LABlab(20.87, 38.95, -12.28)
CIE-LCHlch(20.87, 40.84, 342.50°)
OKLaboklab(33.41% 0.1179 -0.0327)
OKLCHoklch(33.41% 0.122 344.5)
XYZxyz(5.8910, 3.2109, 5.9386)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1145 #115E2A
analogous
#51115E #5E1145 #5E111E
triadic
#5E1145 #455E11 #11455E
tetradic
#5E1145 #5E5111 #115E2A #111E5E
square
#5E1145 #5E5111 #115E2A #111E5E
split-complementary
#5E1145 #1E5E11 #115E51
monochromatic
#1A0513 #2A081F #5E1145 #921A6B #C62491

Accessibility & contrast

On white

12.79
#5E1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1145
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1145#FFFFFF#000000##FFFFFF
##5E11451.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A46
Deuteranopia (green-blind)
#323743
Tritanopia (blue-blind)
#651029
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1145;
/* rgb */ color: rgb(94, 17, 69);
/* oklch */ color: oklch(33.4% 0.122 344.5);
Tailwind
colors: {
  custom: {
    50: '#8f5978',
    500: '#5e1145',
    950: '#000000',
  },
}
SCSS
$custom: #5e1145;
$custom-light: #8f5978;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1145",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 319.481,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33408,
    "c": 0.12238,
    "h": 344.5
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#5E1145
secondary
#349754
accent
#EC753C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1145

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

Preview Lab → · Contrast checker → · Palette generator →

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