#5E2139#5E2139

#5E2139 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.7% C 0.093 H 358.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#5E2139
RGBrgb(94, 33, 57)
HSLhsl(336, 48%, 25%)
HSVhsv(336, 65%, 37%)
CMYKcmyk(0%, 64.9%, 39.4%, 63.1%)
CIE-LABlab(22.87, 30.40, -1.01)
CIE-LCHlch(22.87, 30.42, 358.10°)
OKLaboklab(34.72% 0.0928 -0.0023)
OKLCHoklch(34.72% 0.093 358.6)
XYZxyz(5.8988, 3.7634, 4.2859)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2139 #215E46
analogous
#5E2158 #5E2139 #5E2721
triadic
#5E2139 #395E21 #21395E
tetradic
#5E2139 #585E21 #215E46 #27215E
square
#5E2139 #585E21 #215E46 #27215E
split-complementary
#5E2139 #215E27 #21585E
monochromatic
#17080E #31111E #5E2139 #8B3154 #B94170

Accessibility & contrast

On white

11.98
#5E2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2139
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2139#FFFFFF#000000##FFFFFF
##5E21391.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2F3A
Deuteranopia (green-blind)
#3C3B38
Tritanopia (blue-blind)
#661C2A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e2139;
/* rgb */ color: rgb(94, 33, 57);
/* oklch */ color: oklch(34.7% 0.093 358.6);
Tailwind
colors: {
  custom: {
    50: '#8f606f',
    500: '#5e2139',
    950: '#000000',
  },
}
SCSS
$custom: #5e2139;
$custom-light: #8f606f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2139",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 336.393,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34721,
    "c": 0.09282,
    "h": 358.6
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#5E2139
secondary
#499275
accent
#D8A250
background
#F9F5F6
surface
#F1EAEC
border
#CBC6C7
text
#0D0507
muted
#7E797A

Preview Lab

Preview with #5E2139

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

Preview Lab → · Contrast checker → · Palette generator →

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