#5E134F#5E134F

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

Color values

HEX#5E134F
RGBrgb(94, 19, 79)
HSLhsl(312, 66%, 22%)
HSVhsv(312, 80%, 37%)
CMYKcmyk(0%, 79.8%, 16%, 63.1%)
CIE-LABlab(21.62, 39.78, -17.93)
CIE-LCHlch(21.62, 43.63, 335.73°)
OKLaboklab(34.12% 0.1174 -0.0487)
OKLCHoklch(34.12% 0.127 337.5)
XYZxyz(6.2604, 3.4105, 7.7242)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E134F #135E22
analogous
#48135E #5E134F #5E132A
triadic
#5E134F #4F5E13 #134F5E
tetradic
#5E134F #5E4813 #135E22 #132A5E
square
#5E134F #5E4813 #135E22 #132A5E
split-complementary
#5E134F #2A5E13 #135E48
monochromatic
#190515 #2B0924 #5E134F #911D7A #C428A5

Accessibility & contrast

On white

12.49
#5E134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E134F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E134F#FFFFFF#000000##FFFFFF
##5E134F1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C51
Deuteranopia (green-blind)
#2F384D
Tritanopia (blue-blind)
#63172F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e134f;
/* rgb */ color: rgb(94, 19, 79);
/* oklch */ color: oklch(34.1% 0.127 337.5);
Tailwind
colors: {
  custom: {
    50: '#8f5a80',
    500: '#5e134f',
    950: '#000000',
  },
}
SCSS
$custom: #5e134f;
$custom-light: #8f5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#5e134f",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 312,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34115,
    "c": 0.12716,
    "h": 337.5
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#5E134F
secondary
#37964A
accent
#E9613F
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E134F

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

Preview Lab → · Contrast checker → · Palette generator →

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