#5E154D#5E154D

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

Color values

HEX#5E154D
RGBrgb(94, 21, 77)
HSLhsl(314, 63%, 23%)
HSVhsv(314, 78%, 37%)
CMYKcmyk(0%, 77.7%, 18.1%, 63.1%)
CIE-LABlab(21.77, 38.72, -16.34)
CIE-LCHlch(21.77, 42.03, 337.12°)
OKLaboklab(34.19% 0.115 -0.0442)
OKLCHoklch(34.19% 0.123 339)
XYZxyz(6.2240, 3.4524, 7.3583)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E154D #155E26
analogous
#4B155E #5E154D #5E1528
triadic
#5E154D #4D5E15 #154D5E
tetradic
#5E154D #5E4B15 #155E26 #15285E
square
#5E154D #5E4B15 #155E26 #15285E
split-complementary
#5E154D #285E15 #155E4B
monochromatic
#190614 #2C0A24 #5E154D #902076 #C22B9F

Accessibility & contrast

On white

12.42
#5E154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E154D
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E154D#FFFFFF#000000##FFFFFF
##5E154D1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4F
Deuteranopia (green-blind)
#31384B
Tritanopia (blue-blind)
#64182F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e154d;
/* rgb */ color: rgb(94, 21, 77);
/* oklch */ color: oklch(34.2% 0.123 339.0);
Tailwind
colors: {
  custom: {
    50: '#8f5a7f',
    500: '#5e154d',
    950: '#000000',
  },
}
SCSS
$custom: #5e154d;
$custom-light: #8f5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e154d",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 313.973,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34191,
    "c": 0.12318,
    "h": 339
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#5E154D
secondary
#39954F
accent
#E76841
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E154D

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

Preview Lab → · Contrast checker → · Palette generator →

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