#5E154B#5E154B

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

Color values

HEX#5E154B
RGBrgb(94, 21, 75)
HSLhsl(316, 63%, 23%)
HSVhsv(316, 78%, 37%)
CMYKcmyk(0%, 77.7%, 20.2%, 63.1%)
CIE-LABlab(21.67, 38.41, -15.14)
CIE-LCHlch(21.67, 41.29, 338.48°)
OKLaboklab(34.08% 0.1146 -0.0408)
OKLCHoklch(34.08% 0.122 340.4)
XYZxyz(6.1544, 3.4246, 6.9921)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E154B #155E28
analogous
#4C155E #5E154B #5E1527
triadic
#5E154B #4B5E15 #154B5E
tetradic
#5E154B #5E4C15 #155E28 #15275E
square
#5E154B #5E4C15 #155E28 #15275E
split-complementary
#5E154B #275E15 #155E4C
monochromatic
#190614 #2C0A23 #5E154B #902073 #C22B9B

Accessibility & contrast

On white

12.46
#5E154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E154B
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E154B#FFFFFF#000000##FFFFFF
##5E154B1.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4C
Deuteranopia (green-blind)
#323849
Tritanopia (blue-blind)
#64172E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e154b;
/* rgb */ color: rgb(94, 21, 75);
/* oklch */ color: oklch(34.1% 0.122 340.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a7d',
    500: '#5e154b',
    950: '#000000',
  },
}
SCSS
$custom: #5e154b;
$custom-light: #8f5a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e154b",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 315.616,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34084,
    "c": 0.12169,
    "h": 340.4
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#5E154B
secondary
#399551
accent
#E76C41
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E154B

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

Preview Lab → · Contrast checker → · Palette generator →

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