#5E1442#5E1442

#5E1442 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.117 H 347.1°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5E1442
RGBrgb(94, 20, 66)
HSLhsl(323, 65%, 22%)
HSVhsv(323, 79%, 37%)
CMYKcmyk(0%, 78.7%, 29.8%, 63.1%)
CIE-LABlab(21.11, 37.46, -9.85)
CIE-LCHlch(21.11, 38.73, 345.27°)
OKLaboklab(33.54% 0.1139 -0.026)
OKLCHoklch(33.54% 0.117 347.1)
XYZxyz(5.8499, 3.2740, 5.4771)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1442 #145E30
analogous
#55145E #5E1442 #5E141D
triadic
#5E1442 #425E14 #14425E
tetradic
#5E1442 #5E5514 #145E30 #141D5E
square
#5E1442 #5E5514 #145E30 #141D5E
split-complementary
#5E1442 #1D5E14 #145E55
monochromatic
#190512 #2C091F #5E1442 #901F65 #C32989

Accessibility & contrast

On white

12.69
#5E1442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E1442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1442
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1442#FFFFFF#000000##FFFFFF
##5E14421.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B43
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#651129
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1442;
/* rgb */ color: rgb(94, 20, 66);
/* oklch */ color: oklch(33.5% 0.117 347.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a76',
    500: '#5e1442',
    950: '#000000',
  },
}
SCSS
$custom: #5e1442;
$custom-light: #8f5a76;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1442",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 322.703,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33537,
    "c": 0.11683,
    "h": 347.1
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#5E1442
secondary
#38965C
accent
#E87F40
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1442

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

Preview Lab → · Contrast checker → · Palette generator →

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