#5E1043#5E1043

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

Color values

HEX#5E1043
RGBrgb(94, 16, 67)
HSLhsl(321, 71%, 22%)
HSVhsv(321, 83%, 37%)
CMYKcmyk(0%, 83%, 28.7%, 63.1%)
CIE-LABlab(20.66, 39.00, -11.23)
CIE-LCHlch(20.66, 40.59, 343.94°)
OKLaboklab(33.23% 0.1185 -0.0298)
OKLCHoklch(33.23% 0.122 345.9)
XYZxyz(5.8148, 3.1562, 5.6121)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1043 #105E2B
analogous
#52105E #5E1043 #5E101C
triadic
#5E1043 #435E10 #10435E
tetradic
#5E1043 #5E5210 #105E2B #101C5E
square
#5E1043 #5E5210 #105E2B #101C5E
split-complementary
#5E1043 #1C5E10 #105E52
monochromatic
#1A0413 #2A071E #5E1043 #921968 #C7228E

Accessibility & contrast

On white

12.87
#5E1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1043
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1043#FFFFFF#000000##FFFFFF
##5E10431.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1043;
/* rgb */ color: rgb(94, 16, 67);
/* oklch */ color: oklch(33.2% 0.122 345.9);
Tailwind
colors: {
  custom: {
    50: '#8f5877',
    500: '#5e1043',
    950: '#000000',
  },
}
SCSS
$custom: #5e1043;
$custom-light: #8f5877;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1043",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 320.769,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33225,
    "c": 0.12221,
    "h": 345.9
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#5E1043
secondary
#339755
accent
#EE783A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1043

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

Preview Lab → · Contrast checker → · Palette generator →

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