#5E1239#5E1239

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

Color values

HEX#5E1239
RGBrgb(94, 18, 57)
HSLhsl(329, 68%, 22%)
HSVhsv(329, 81%, 37%)
CMYKcmyk(0%, 80.9%, 39.4%, 63.1%)
CIE-LABlab(20.47, 37.02, -4.57)
CIE-LCHlch(20.47, 37.30, 352.97°)
OKLaboklab(32.95% 0.1136 -0.0116)
OKLCHoklch(32.95% 0.114 354.2)
XYZxyz(5.5713, 3.1084, 4.1767)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1239 #125E37
analogous
#5D125E #5E1239 #5E1213
triadic
#5E1239 #395E12 #12395E
tetradic
#5E1239 #5E5D12 #125E37 #12135E
square
#5E1239 #5E5D12 #125E37 #12135E
split-complementary
#5E1239 #135E12 #125E5D
monochromatic
#1A0510 #2B081A #5E1239 #911C58 #C52677

Accessibility & contrast

On white

12.95
#5E1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1239
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1239#FFFFFF#000000##FFFFFF
##5E12391.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21283A
Deuteranopia (green-blind)
#363637
Tritanopia (blue-blind)
#660A23
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1239;
/* rgb */ color: rgb(94, 18, 57);
/* oklch */ color: oklch(32.9% 0.114 354.2);
Tailwind
colors: {
  custom: {
    50: '#8f586f',
    500: '#5e1239',
    950: '#000000',
  },
}
SCSS
$custom: #5e1239;
$custom-light: #8f586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1239",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 329.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32949,
    "c": 0.11422,
    "h": 354.2
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#5E1239
secondary
#359665
accent
#EB923D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1239

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

Preview Lab → · Contrast checker → · Palette generator →

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