#5E174D#5E174D

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

Color values

HEX#5E174D
RGBrgb(94, 23, 77)
HSLhsl(314, 61%, 23%)
HSVhsv(314, 76%, 37%)
CMYKcmyk(0%, 75.5%, 18.1%, 63.1%)
CIE-LABlab(22.05, 37.94, -15.91)
CIE-LCHlch(22.05, 41.14, 337.25°)
OKLaboklab(34.39% 0.1126 -0.043)
OKLCHoklch(34.39% 0.121 339.1)
XYZxyz(6.2622, 3.5289, 7.3711)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E174D #175E28
analogous
#4B175E #5E174D #5E1729
triadic
#5E174D #4D5E17 #174D5E
tetradic
#5E174D #5E4B17 #175E28 #17295E
square
#5E174D #5E4B17 #175E28 #17295E
split-complementary
#5E174D #295E17 #175E4B
monochromatic
#190614 #2D0B25 #5E174D #8F2375 #C02F9E

Accessibility & contrast

On white

12.31
#5E174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E174D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E174D#FFFFFF#000000##FFFFFF
##5E174D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#32394B
Tritanopia (blue-blind)
#641A30
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e174d;
/* rgb */ color: rgb(94, 23, 77);
/* oklch */ color: oklch(34.4% 0.121 339.1);
Tailwind
colors: {
  custom: {
    50: '#8e5b7f',
    500: '#5e174d',
    950: '#000000',
  },
}
SCSS
$custom: #5e174d;
$custom-light: #8e5b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e174d",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 314.366,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34392,
    "c": 0.12055,
    "h": 339.1
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#5E174D
secondary
#3C9551
accent
#E46A44
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E174D

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

Preview Lab → · Contrast checker → · Palette generator →

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