#5E0D4E#5E0D4E

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

Color values

HEX#5E0D4E
RGBrgb(94, 13, 78)
HSLhsl(312, 76%, 21%)
HSVhsv(312, 86%, 37%)
CMYKcmyk(0%, 86.2%, 17%, 63.1%)
CIE-LABlab(20.90, 41.53, -18.38)
CIE-LCHlch(20.90, 45.42, 336.12°)
OKLaboklab(33.58% 0.1231 -0.05)
OKLCHoklch(33.58% 0.133 337.9)
XYZxyz(6.1353, 3.2182, 7.5043)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0D4E #0D5E1D
analogous
#450D5E #5E0D4E #5E0D25
triadic
#5E0D4E #4E5E0D #0D4E5E
tetradic
#5E0D4E #5E450D #0D5E1D #0D255E
square
#5E0D4E #5E450D #0D5E1D #0D255E
split-complementary
#5E0D4E #255E0D #0D5E45
monochromatic
#1B0416 #280621 #5E0D4E #94147B #CA1CA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E0D4E#FFFFFF#000000##FFFFFF
##5E0D4E1.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)
#112A50
Deuteranopia (green-blind)
#2E374C
Tritanopia (blue-blind)
#64122D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e0d4e;
/* rgb */ color: rgb(94, 13, 78);
/* oklch */ color: oklch(33.6% 0.133 337.9);
Tailwind
colors: {
  custom: {
    50: '#8f5880',
    500: '#5e0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #5e0d4e;
$custom-light: #8f5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0d4e",
  "rgb": {
    "r": 94,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 311.852,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33578,
    "c": 0.13284,
    "h": 337.9
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#5E0D4E
secondary
#2F9844
accent
#F25B36
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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