#5E164F#5E164F

#5E164F is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.4% C 0.123 H 337.6°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#5E164F
RGBrgb(94, 22, 79)
HSLhsl(313, 62%, 23%)
HSVhsv(313, 77%, 37%)
CMYKcmyk(0%, 76.6%, 16%, 63.1%)
CIE-LABlab(22.01, 38.66, -17.32)
CIE-LCHlch(22.01, 42.36, 335.87°)
OKLaboklab(34.4% 0.1141 -0.047)
OKLCHoklch(34.4% 0.123 337.6)
XYZxyz(6.3144, 3.5186, 7.7422)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E164F #165E25
analogous
#49165E #5E164F #5E162B
triadic
#5E164F #4F5E16 #164F5E
tetradic
#5E164F #5E4916 #165E25 #162B5E
square
#5E164F #5E4916 #165E25 #162B5E
split-complementary
#5E164F #2B5E16 #165E49
monochromatic
#190615 #2C0A25 #5E164F #902279 #C12DA2

Accessibility & contrast

On white

12.33
#5E164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E164F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E164F#FFFFFF#000000##FFFFFF
##5E164F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E51
Deuteranopia (green-blind)
#31394D
Tritanopia (blue-blind)
#631A30
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e164f;
/* rgb */ color: rgb(94, 22, 79);
/* oklch */ color: oklch(34.4% 0.123 337.6);
Tailwind
colors: {
  custom: {
    50: '#8e5b80',
    500: '#5e164f',
    950: '#000000',
  },
}
SCSS
$custom: #5e164f;
$custom-light: #8e5b80;
$custom-dark: #000000;
JSON
{
  "hex": "#5e164f",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 312.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34399,
    "c": 0.12341,
    "h": 337.6
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#5E164F
secondary
#3B954E
accent
#E56543
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E164F

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

Preview Lab → · Contrast checker → · Palette generator →

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