#5E1149#5E1149

#5E1149 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.125 H 341.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5E1149
RGBrgb(94, 17, 73)
HSLhsl(316, 69%, 22%)
HSVhsv(316, 82%, 37%)
CMYKcmyk(0%, 81.9%, 22.3%, 63.1%)
CIE-LABlab(21.06, 39.54, -14.72)
CIE-LCHlch(21.06, 42.19, 339.58°)
OKLaboklab(33.61% 0.1187 -0.0396)
OKLCHoklch(33.61% 0.125 341.5)
XYZxyz(6.0193, 3.2622, 6.6147)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1149 #115E26
analogous
#4D115E #5E1149 #5E1123
triadic
#5E1149 #495E11 #11495E
tetradic
#5E1149 #5E4D11 #115E26 #11235E
square
#5E1149 #5E4D11 #115E26 #11235E
split-complementary
#5E1149 #235E11 #115E4D
monochromatic
#1A0514 #2A0821 #5E1149 #921A71 #C62499

Accessibility & contrast

On white

12.71
#5E1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1149
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1149#FFFFFF#000000##FFFFFF
##5E11491.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4A
Deuteranopia (green-blind)
#313747
Tritanopia (blue-blind)
#64122B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1149;
/* rgb */ color: rgb(94, 17, 73);
/* oklch */ color: oklch(33.6% 0.125 341.5);
Tailwind
colors: {
  custom: {
    50: '#8f597c',
    500: '#5e1149',
    950: '#000000',
  },
}
SCSS
$custom: #5e1149;
$custom-light: #8f597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1149",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 316.364,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33614,
    "c": 0.12509,
    "h": 341.5
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#5E1149
secondary
#34974F
accent
#EC6C3C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1149

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

Preview Lab → · Contrast checker → · Palette generator →

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