#5E1039#5E1039

#5E1039 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.8% C 0.117 H 353.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5E1039
RGBrgb(94, 16, 57)
HSLhsl(328, 71%, 22%)
HSVhsv(328, 83%, 37%)
CMYKcmyk(0%, 83%, 39.4%, 63.1%)
CIE-LABlab(20.23, 37.71, -4.93)
CIE-LCHlch(20.23, 38.03, 352.55°)
OKLaboklab(32.77% 0.1158 -0.0126)
OKLCHoklch(32.77% 0.117 353.8)
XYZxyz(5.5403, 3.0464, 4.1664)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1039 #105E35
analogous
#5C105E #5E1039 #5E1012
triadic
#5E1039 #395E10 #10395E
tetradic
#5E1039 #5E5C10 #105E35 #10125E
square
#5E1039 #5E5C10 #105E35 #10125E
split-complementary
#5E1039 #125E10 #105E5C
monochromatic
#1A0410 #2A0719 #5E1039 #921959 #C72278

Accessibility & contrast

On white

13.05
#5E1039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5E1039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1039
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1039#FFFFFF#000000##FFFFFF
##5E10391.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#363637
Tritanopia (blue-blind)
#660723
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1039;
/* rgb */ color: rgb(94, 16, 57);
/* oklch */ color: oklch(32.8% 0.117 353.8);
Tailwind
colors: {
  custom: {
    50: '#8f586f',
    500: '#5e1039',
    950: '#000000',
  },
}
SCSS
$custom: #5e1039;
$custom-light: #8f586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1039",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 57
  },
  "hsl": {
    "h": 328.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32771,
    "c": 0.11651,
    "h": 353.8
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#5E1039
secondary
#339762
accent
#EE8F3A
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1039

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

Preview Lab → · Contrast checker → · Palette generator →

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