#5E1438#5E1438

#5E1438 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.111 H 355.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5E1438
RGBrgb(94, 20, 56)
HSLhsl(331, 65%, 22%)
HSVhsv(331, 79%, 37%)
CMYKcmyk(0%, 78.7%, 40.4%, 63.1%)
CIE-LABlab(20.70, 36.15, -3.53)
CIE-LCHlch(20.70, 36.33, 354.42°)
OKLaboklab(33.1% 0.111 -0.0089)
OKLCHoklch(33.1% 0.111 355.4)
XYZxyz(5.5804, 3.1662, 4.0579)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1438 #145E3A
analogous
#5E145D #5E1438 #5E1514
triadic
#5E1438 #385E14 #14385E
tetradic
#5E1438 #5D5E14 #145E3A #15145E
square
#5E1438 #5D5E14 #145E3A #15145E
split-complementary
#5E1438 #145E15 #145D5E
monochromatic
#19050F #2C091A #5E1438 #901F56 #C32974

Accessibility & contrast

On white

12.86
#5E1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1438
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1438#FFFFFF#000000##FFFFFF
##5E14381.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222939
Deuteranopia (green-blind)
#373736
Tritanopia (blue-blind)
#660C24
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1438;
/* rgb */ color: rgb(94, 20, 56);
/* oklch */ color: oklch(33.1% 0.111 355.4);
Tailwind
colors: {
  custom: {
    50: '#8f596e',
    500: '#5e1438',
    950: '#000000',
  },
}
SCSS
$custom: #5e1438;
$custom-light: #8f596e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1438",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 330.811,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33102,
    "c": 0.1113,
    "h": 355.4
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#5E1438
secondary
#389668
accent
#E89640
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1438

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

Preview Lab → · Contrast checker → · Palette generator →

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