#5E1147#5E1147

#5E1147 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.124 H 343.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5E1147
RGBrgb(94, 17, 71)
HSLhsl(318, 69%, 22%)
HSVhsv(318, 82%, 37%)
CMYKcmyk(0%, 81.9%, 24.5%, 63.1%)
CIE-LABlab(20.97, 39.24, -13.50)
CIE-LCHlch(20.97, 41.50, 341.01°)
OKLaboklab(33.51% 0.1183 -0.0362)
OKLCHoklch(33.51% 0.124 343)
XYZxyz(5.9541, 3.2361, 6.2711)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1147 #115E28
analogous
#4F115E #5E1147 #5E1121
triadic
#5E1147 #475E11 #11475E
tetradic
#5E1147 #5E4F11 #115E28 #11215E
square
#5E1147 #5E4F11 #115E28 #11215E
split-complementary
#5E1147 #215E11 #115E4F
monochromatic
#1A0514 #2A0820 #5E1147 #921A6E #C62495

Accessibility & contrast

On white

12.75
#5E1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E1147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1147
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1147#FFFFFF#000000##FFFFFF
##5E11471.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A48
Deuteranopia (green-blind)
#323745
Tritanopia (blue-blind)
#65112A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1147;
/* rgb */ color: rgb(94, 17, 71);
/* oklch */ color: oklch(33.5% 0.124 343.0);
Tailwind
colors: {
  custom: {
    50: '#8f597a',
    500: '#5e1147',
    950: '#000000',
  },
}
SCSS
$custom: #5e1147;
$custom-light: #8f597a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1147",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 317.922,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3351,
    "c": 0.12372,
    "h": 343
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#5E1147
secondary
#349752
accent
#EC703C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1147

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

Preview Lab → · Contrast checker → · Palette generator →

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