#5E114A#5E114A

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

Color values

HEX#5E114A
RGBrgb(94, 17, 74)
HSLhsl(316, 69%, 22%)
HSVhsv(316, 82%, 37%)
CMYKcmyk(0%, 81.9%, 21.3%, 63.1%)
CIE-LABlab(21.12, 39.69, -15.32)
CIE-LCHlch(21.12, 42.54, 338.89°)
OKLaboklab(33.67% 0.1188 -0.0413)
OKLCHoklch(33.67% 0.126 340.8)
XYZxyz(6.0528, 3.2756, 6.7907)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E114A #115E25
analogous
#4C115E #5E114A #5E1124
triadic
#5E114A #4A5E11 #114A5E
tetradic
#5E114A #5E4C11 #115E25 #11245E
square
#5E114A #5E4C11 #115E25 #11245E
split-complementary
#5E114A #245E11 #115E4C
monochromatic
#1A0514 #2A0821 #5E114A #921A73 #C6249C

Accessibility & contrast

On white

12.69
#5E114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E114A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E114A#FFFFFF#000000##FFFFFF
##5E114A1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4C
Deuteranopia (green-blind)
#313748
Tritanopia (blue-blind)
#64132C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e114a;
/* rgb */ color: rgb(94, 17, 74);
/* oklch */ color: oklch(33.7% 0.126 340.8);
Tailwind
colors: {
  custom: {
    50: '#8f597c',
    500: '#5e114a',
    950: '#000000',
  },
}
SCSS
$custom: #5e114a;
$custom-light: #8f597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e114a",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 315.584,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33667,
    "c": 0.12581,
    "h": 340.8
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#5E114A
secondary
#34974E
accent
#EC693C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E114A

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

Preview Lab → · Contrast checker → · Palette generator →

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