#5E1139#5E1139

#5E1139 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.115 H 354.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5E1139
RGBrgb(94, 17, 57)
HSLhsl(329, 69%, 22%)
HSVhsv(329, 82%, 37%)
CMYKcmyk(0%, 81.9%, 39.4%, 63.1%)
CIE-LABlab(20.35, 37.37, -4.75)
CIE-LCHlch(20.35, 37.67, 352.75°)
OKLaboklab(32.86% 0.1148 -0.0121)
OKLCHoklch(32.86% 0.115 354)
XYZxyz(5.5554, 3.0767, 4.1714)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1139 #115E36
analogous
#5D115E #5E1139 #5E1113
triadic
#5E1139 #395E11 #11395E
tetradic
#5E1139 #5E5D11 #115E36 #11135E
square
#5E1139 #5E5D11 #115E36 #11135E
split-complementary
#5E1139 #135E11 #115E5D
monochromatic
#1A0510 #2A081A #5E1139 #921A58 #C62478

Accessibility & contrast

On white

13.00
#5E1139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E1139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1139
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1139#FFFFFF#000000##FFFFFF
##5E11391.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1139;
/* rgb */ color: rgb(94, 17, 57);
/* oklch */ color: oklch(32.9% 0.115 354.0);
Tailwind
colors: {
  custom: {
    50: '#8f586f',
    500: '#5e1139',
    950: '#000000',
  },
}
SCSS
$custom: #5e1139;
$custom-light: #8f586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1139",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 328.831,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32858,
    "c": 0.11539,
    "h": 354
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#5E1139
secondary
#349763
accent
#EC903C
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1139

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

Preview Lab → · Contrast checker → · Palette generator →

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