#5E114F#5E114F

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

Color values

HEX#5E114F
RGBrgb(94, 17, 79)
HSLhsl(312, 69%, 22%)
HSVhsv(312, 82%, 37%)
CMYKcmyk(0%, 81.9%, 16%, 63.1%)
CIE-LABlab(21.38, 40.46, -18.31)
CIE-LCHlch(21.38, 44.41, 335.65°)
OKLaboklab(33.94% 0.1195 -0.0498)
OKLCHoklch(33.94% 0.129 337.4)
XYZxyz(6.2280, 3.3457, 7.7134)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E114F #115E20
analogous
#47115E #5E114F #5E1129
triadic
#5E114F #4F5E11 #114F5E
tetradic
#5E114F #5E4711 #115E20 #11295E
square
#5E114F #5E4711 #115E20 #11295E
split-complementary
#5E114F #295E11 #115E47
monochromatic
#1A0516 #2A0823 #5E114F #921A7B #C624A6

Accessibility & contrast

On white

12.58
#5E114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E114F
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E114F#FFFFFF#000000##FFFFFF
##5E114F1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C51
Deuteranopia (green-blind)
#2F374D
Tritanopia (blue-blind)
#64162F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e114f;
/* rgb */ color: rgb(94, 17, 79);
/* oklch */ color: oklch(33.9% 0.129 337.4);
Tailwind
colors: {
  custom: {
    50: '#8f5980',
    500: '#5e114f',
    950: '#000000',
  },
}
SCSS
$custom: #5e114f;
$custom-light: #8f5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5e114f",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 311.688,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.12945,
    "h": 337.4
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#5E114F
secondary
#349747
accent
#EC5E3C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E114F

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

Preview Lab → · Contrast checker → · Palette generator →

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