#5E114B#5E114B

#5E114B is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.127 H 340.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5E114B
RGBrgb(94, 17, 75)
HSLhsl(315, 69%, 22%)
HSVhsv(315, 82%, 37%)
CMYKcmyk(0%, 81.9%, 20.2%, 63.1%)
CIE-LABlab(21.17, 39.84, -15.92)
CIE-LCHlch(21.17, 42.90, 338.21°)
OKLaboklab(33.72% 0.119 -0.043)
OKLCHoklch(33.72% 0.127 340.1)
XYZxyz(6.0867, 3.2892, 6.9696)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E114B #115E24
analogous
#4B115E #5E114B #5E1125
triadic
#5E114B #4B5E11 #114B5E
tetradic
#5E114B #5E4B11 #115E24 #11255E
square
#5E114B #5E4B11 #115E24 #11255E
split-complementary
#5E114B #255E11 #115E4B
monochromatic
#1A0515 #2A0822 #5E114B #921A74 #C6249E

Accessibility & contrast

On white

12.67
#5E114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E114B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E114B
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E114B#FFFFFF#000000##FFFFFF
##5E114B1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4D
Deuteranopia (green-blind)
#303749
Tritanopia (blue-blind)
#64142D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e114b;
/* rgb */ color: rgb(94, 17, 75);
/* oklch */ color: oklch(33.7% 0.127 340.1);
Tailwind
colors: {
  custom: {
    50: '#8f597d',
    500: '#5e114b',
    950: '#000000',
  },
}
SCSS
$custom: #5e114b;
$custom-light: #8f597d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e114b",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 314.805,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3372,
    "c": 0.12652,
    "h": 340.1
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#5E114B
secondary
#34974C
accent
#EC673C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E114B

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

Preview Lab → · Contrast checker → · Palette generator →

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