#5E154C#5E154C

#5E154C is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.1% C 0.122 H 339.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#5E154C
RGBrgb(94, 21, 76)
HSLhsl(315, 63%, 23%)
HSVhsv(315, 78%, 37%)
CMYKcmyk(0%, 77.7%, 19.1%, 63.1%)
CIE-LABlab(21.72, 38.57, -15.74)
CIE-LCHlch(21.72, 41.66, 337.79°)
OKLaboklab(34.14% 0.1148 -0.0425)
OKLCHoklch(34.14% 0.122 339.7)
XYZxyz(6.1889, 3.4384, 7.1738)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E154C #155E27
analogous
#4C155E #5E154C #5E1527
triadic
#5E154C #4C5E15 #154C5E
tetradic
#5E154C #5E4C15 #155E27 #15275E
square
#5E154C #5E4C15 #155E27 #15275E
split-complementary
#5E154C #275E15 #155E4C
monochromatic
#190614 #2C0A24 #5E154C #902074 #C22B9D

Accessibility & contrast

On white

12.44
#5E154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E154C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E154C#FFFFFF#000000##FFFFFF
##5E154C1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4E
Deuteranopia (green-blind)
#31384A
Tritanopia (blue-blind)
#64182E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e154c;
/* rgb */ color: rgb(94, 21, 76);
/* oklch */ color: oklch(34.1% 0.122 339.7);
Tailwind
colors: {
  custom: {
    50: '#8f5a7e',
    500: '#5e154c',
    950: '#000000',
  },
}
SCSS
$custom: #5e154c;
$custom-light: #8f5a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e154c",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 314.795,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34138,
    "c": 0.12242,
    "h": 339.7
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#5E154C
secondary
#399550
accent
#E76A41
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E154C

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

Preview Lab → · Contrast checker → · Palette generator →

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