#5E0E4C#5E0E4C

#5E0E4C is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.130 H 339.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5E0E4C
RGBrgb(94, 14, 76)
HSLhsl(314, 74%, 21%)
HSVhsv(314, 85%, 37%)
CMYKcmyk(0%, 85.1%, 19.1%, 63.1%)
CIE-LABlab(20.89, 40.94, -17.04)
CIE-LCHlch(20.89, 44.34, 337.40°)
OKLaboklab(33.54% 0.122 -0.0461)
OKLCHoklch(33.54% 0.13 339.3)
XYZxyz(6.0778, 3.2162, 7.1368)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0E4C #0E5E20
analogous
#480E5E #5E0E4C #5E0E24
triadic
#5E0E4C #4C5E0E #0E4C5E
tetradic
#5E0E4C #5E480E #0E5E20 #0E245E
square
#5E0E4C #5E480E #0E5E20 #0E245E
split-complementary
#5E0E4C #245E0E #0E5E48
monochromatic
#1B0416 #290621 #5E0E4C #931677 #C91EA2

Accessibility & contrast

On white

12.78
#5E0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E0E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0E4C
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0E4C#FFFFFF#000000##FFFFFF
##5E0E4C1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4E
Deuteranopia (green-blind)
#2F374A
Tritanopia (blue-blind)
#64122C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e0e4c;
/* rgb */ color: rgb(94, 14, 76);
/* oklch */ color: oklch(33.5% 0.130 339.3);
Tailwind
colors: {
  custom: {
    50: '#8f587e',
    500: '#5e0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #5e0e4c;
$custom-light: #8f587e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0e4c",
  "rgb": {
    "r": 94,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 313.5,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33538,
    "c": 0.13042,
    "h": 339.3
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#5E0E4C
secondary
#309847
accent
#F16137
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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