#5E1640#5E1640

#5E1640 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.113 H 349.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5E1640
RGBrgb(94, 22, 64)
HSLhsl(325, 62%, 23%)
HSVhsv(325, 77%, 37%)
CMYKcmyk(0%, 76.6%, 31.9%, 63.1%)
CIE-LABlab(21.30, 36.40, -8.18)
CIE-LCHlch(21.30, 37.31, 347.33°)
OKLaboklab(33.65% 0.111 -0.0214)
OKLCHoklch(33.65% 0.113 349.1)
XYZxyz(5.8287, 3.3243, 5.1842)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1640 #165E34
analogous
#58165E #5E1640 #5E161C
triadic
#5E1640 #405E16 #16405E
tetradic
#5E1640 #5E5816 #165E34 #161C5E
square
#5E1640 #5E5816 #165E34 #161C5E
split-complementary
#5E1640 #1C5E16 #165E58
monochromatic
#190611 #2C0A1E #5E1640 #902262 #C12D84

Accessibility & contrast

On white

12.61
#5E1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1640
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1640#FFFFFF#000000##FFFFFF
##5E16401.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#651228
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1640;
/* rgb */ color: rgb(94, 22, 64);
/* oklch */ color: oklch(33.6% 0.113 349.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a74',
    500: '#5e1640',
    950: '#000000',
  },
}
SCSS
$custom: #5e1640;
$custom-light: #8f5a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1640",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 325,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33647,
    "c": 0.113,
    "h": 349.1
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#5E1640
secondary
#3B9560
accent
#E58643
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1640

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

Preview Lab → · Contrast checker → · Palette generator →

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