#5E0D4F#5E0D4F

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

Color values

HEX#5E0D4F
RGBrgb(94, 13, 79)
HSLhsl(311, 76%, 21%)
HSVhsv(311, 86%, 37%)
CMYKcmyk(0%, 86.2%, 16%, 63.1%)
CIE-LABlab(20.95, 41.69, -18.98)
CIE-LCHlch(20.95, 45.80, 335.52°)
OKLaboklab(33.64% 0.1232 -0.0517)
OKLCHoklch(33.64% 0.134 337.2)
XYZxyz(6.1714, 3.2326, 7.6946)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0D4F #0D5E1C
analogous
#440D5E #5E0D4F #5E0D26
triadic
#5E0D4F #4F5E0D #0D4F5E
tetradic
#5E0D4F #5E440D #0D5E1C #0D265E
square
#5E0D4F #5E440D #0D5E1C #0D265E
split-complementary
#5E0D4F #265E0D #0D5E44
monochromatic
#1B0417 #280622 #5E0D4F #94147C #CA1CA9

Accessibility & contrast

On white

12.76
#5E0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0D4F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0D4F#FFFFFF#000000##FFFFFF
##5E0D4F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B51
Deuteranopia (green-blind)
#2D374D
Tritanopia (blue-blind)
#64132E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e0d4f;
/* rgb */ color: rgb(94, 13, 79);
/* oklch */ color: oklch(33.6% 0.134 337.2);
Tailwind
colors: {
  custom: {
    50: '#8f5880',
    500: '#5e0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #5e0d4f;
$custom-light: #8f5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0d4f",
  "rgb": {
    "r": 94,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 311.111,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33636,
    "c": 0.13357,
    "h": 337.2
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#5E0D4F
secondary
#2F9842
accent
#F25836
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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