#5E0E4F#5E0E4F

#5E0E4F is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.133 H 337.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5E0E4F
RGBrgb(94, 14, 79)
HSLhsl(311, 74%, 21%)
HSVhsv(311, 85%, 37%)
CMYKcmyk(0%, 85.1%, 16%, 63.1%)
CIE-LABlab(21.05, 41.40, -18.82)
CIE-LCHlch(21.05, 45.47, 335.55°)
OKLaboklab(33.71% 0.1223 -0.0512)
OKLCHoklch(33.71% 0.133 337.3)
XYZxyz(6.1845, 3.2589, 7.6989)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0E4F #0E5E1D
analogous
#450E5E #5E0E4F #5E0E27
triadic
#5E0E4F #4F5E0E #0E4F5E
tetradic
#5E0E4F #5E450E #0E5E1D #0E275E
square
#5E0E4F #5E450E #0E5E1D #0E275E
split-complementary
#5E0E4F #275E0E #0E5E45
monochromatic
#1B0416 #290622 #5E0E4F #93167C #C91EA9

Accessibility & contrast

On white

12.71
#5E0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E0E4F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0E4F#FFFFFF#000000##FFFFFF
##5E0E4F1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B51
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#64142E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e0e4f;
/* rgb */ color: rgb(94, 14, 79);
/* oklch */ color: oklch(33.7% 0.133 337.3);
Tailwind
colors: {
  custom: {
    50: '#8f5880',
    500: '#5e0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #5e0e4f;
$custom-light: #8f5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0e4f",
  "rgb": {
    "r": 94,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 311.25,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33707,
    "c": 0.1326,
    "h": 337.3
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#5E0E4F
secondary
#309844
accent
#F15A37
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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