#5E1E40#5E1E40

#5E1E40 is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.6% C 0.101 H 350.8°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#5E1E40
RGBrgb(94, 30, 64)
HSLhsl(328, 52%, 24%)
HSVhsv(328, 68%, 37%)
CMYKcmyk(0%, 68.1%, 31.9%, 63.1%)
CIE-LABlab(22.58, 32.86, -6.25)
CIE-LCHlch(22.58, 33.45, 349.24°)
OKLaboklab(34.59% 0.0999 -0.0162)
OKLCHoklch(34.59% 0.101 350.8)
XYZxyz(6.0061, 3.6790, 5.2433)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E40 #1E5E3C
analogous
#5C1E5E #5E1E40 #5E1E20
triadic
#5E1E40 #405E1E #1E405E
tetradic
#5E1E40 #5E5C1E #1E5E3C #1E205E
square
#5E1E40 #5E5C1E #1E5E3C #1E205E
split-complementary
#5E1E40 #205E1E #1E5E5C
monochromatic
#170710 #300F20 #5E1E40 #8C2D60 #BB3C7F

Accessibility & contrast

On white

12.10
#5E1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5E1E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E40
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E40#FFFFFF#000000##FFFFFF
##5E1E401.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#393A3E
Tritanopia (blue-blind)
#651B2C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1e40;
/* rgb */ color: rgb(94, 30, 64);
/* oklch */ color: oklch(34.6% 0.101 350.8);
Tailwind
colors: {
  custom: {
    50: '#8e5e74',
    500: '#5e1e40',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e40;
$custom-light: #8e5e74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e40",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 328.125,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34589,
    "c": 0.10123,
    "h": 350.8
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#5E1E40
secondary
#459369
accent
#DB8F4D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0508
muted
#7E797B

Preview Lab

Preview with #5E1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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