#5E1638#5E1638

#5E1638 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.109 H 355.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5E1638
RGBrgb(94, 22, 56)
HSLhsl(332, 62%, 23%)
HSVhsv(332, 77%, 37%)
CMYKcmyk(0%, 76.6%, 40.4%, 63.1%)
CIE-LABlab(20.98, 35.37, -3.11)
CIE-LCHlch(20.98, 35.50, 354.97°)
OKLaboklab(33.31% 0.1085 -0.0077)
OKLCHoklch(33.31% 0.109 355.9)
XYZxyz(5.6172, 3.2397, 4.0701)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1638 #165E3C
analogous
#5E165C #5E1638 #5E1816
triadic
#5E1638 #385E16 #16385E
tetradic
#5E1638 #5C5E16 #165E3C #18165E
square
#5E1638 #5C5E16 #165E3C #18165E
split-complementary
#5E1638 #165E18 #165C5E
monochromatic
#19060F #2C0A1A #5E1638 #902256 #C12D73

Accessibility & contrast

On white

12.74
#5E1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1638
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1638#FFFFFF#000000##FFFFFF
##5E16381.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A39
Deuteranopia (green-blind)
#383736
Tritanopia (blue-blind)
#660E25
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1638;
/* rgb */ color: rgb(94, 22, 56);
/* oklch */ color: oklch(33.3% 0.109 355.9);
Tailwind
colors: {
  custom: {
    50: '#8f5a6e',
    500: '#5e1638',
    950: '#000000',
  },
}
SCSS
$custom: #5e1638;
$custom-light: #8f5a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1638",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 331.667,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33308,
    "c": 0.10873,
    "h": 355.9
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#5E1638
secondary
#3B956A
accent
#E59843
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1638

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

Preview Lab → · Contrast checker → · Palette generator →

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