#5E124E#5E124E

#5E124E is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.0% C 0.128 H 338.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#5E124E
RGBrgb(94, 18, 78)
HSLhsl(313, 68%, 22%)
HSVhsv(313, 81%, 37%)
CMYKcmyk(0%, 80.9%, 17%, 63.1%)
CIE-LABlab(21.44, 39.97, -17.53)
CIE-LCHlch(21.44, 43.64, 336.32°)
OKLaboklab(33.97% 0.1184 -0.0476)
OKLCHoklch(33.97% 0.128 338.1)
XYZxyz(6.2077, 3.3630, 7.5284)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E124E #125E22
analogous
#48125E #5E124E #5E1228
triadic
#5E124E #4E5E12 #124E5E
tetradic
#5E124E #5E4812 #125E22 #12285E
square
#5E124E #5E4812 #125E22 #12285E
split-complementary
#5E124E #285E12 #125E48
monochromatic
#1A0515 #2B0823 #5E124E #911C79 #C526A3

Accessibility & contrast

On white

12.56
#5E124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E124E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E124E#FFFFFF#000000##FFFFFF
##5E124E1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C50
Deuteranopia (green-blind)
#2F384C
Tritanopia (blue-blind)
#64162E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e124e;
/* rgb */ color: rgb(94, 18, 78);
/* oklch */ color: oklch(34.0% 0.128 338.1);
Tailwind
colors: {
  custom: {
    50: '#8f597f',
    500: '#5e124e',
    950: '#000000',
  },
}
SCSS
$custom: #5e124e;
$custom-light: #8f597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e124e",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 312.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3397,
    "c": 0.12758,
    "h": 338.1
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#5E124E
secondary
#35964A
accent
#EB623D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E124E

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

Preview Lab → · Contrast checker → · Palette generator →

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