#5E114E#5E114E

#5E114E is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.9% C 0.129 H 338.1°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#5E114E
RGBrgb(94, 17, 78)
HSLhsl(312, 69%, 22%)
HSVhsv(312, 82%, 37%)
CMYKcmyk(0%, 81.9%, 17%, 63.1%)
CIE-LABlab(21.32, 40.30, -17.72)
CIE-LCHlch(21.32, 44.03, 336.27°)
OKLaboklab(33.89% 0.1194 -0.0481)
OKLCHoklch(33.89% 0.129 338.1)
XYZxyz(6.1918, 3.3312, 7.5231)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E114E #115E21
analogous
#48115E #5E114E #5E1128
triadic
#5E114E #4E5E11 #114E5E
tetradic
#5E114E #5E4811 #115E21 #11285E
square
#5E114E #5E4811 #115E21 #11285E
split-complementary
#5E114E #285E11 #115E48
monochromatic
#1A0516 #2A0823 #5E114E #921A79 #C624A4

Accessibility & contrast

On white

12.60
#5E114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E114E
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E114E#FFFFFF#000000##FFFFFF
##5E114E1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C50
Deuteranopia (green-blind)
#2F374C
Tritanopia (blue-blind)
#64152E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e114e;
/* rgb */ color: rgb(94, 17, 78);
/* oklch */ color: oklch(33.9% 0.129 338.1);
Tailwind
colors: {
  custom: {
    50: '#8f597f',
    500: '#5e114e',
    950: '#000000',
  },
}
SCSS
$custom: #5e114e;
$custom-light: #8f597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e114e",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 312.468,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33885,
    "c": 0.12871,
    "h": 338.1
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#5E114E
secondary
#349749
accent
#EC603C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E114E

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

Preview Lab → · Contrast checker → · Palette generator →

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