#5E0F4E#5E0F4E

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

Color values

HEX#5E0F4E
RGBrgb(94, 15, 78)
HSLhsl(312, 72%, 21%)
HSVhsv(312, 84%, 37%)
CMYKcmyk(0%, 84%, 17%, 63.1%)
CIE-LABlab(21.10, 40.94, -18.06)
CIE-LCHlch(21.10, 44.75, 336.19°)
OKLaboklab(33.73% 0.1213 -0.0491)
OKLCHoklch(33.73% 0.131 338)
XYZxyz(6.1622, 3.2720, 7.5133)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F4E #0F5E1F
analogous
#470F5E #5E0F4E #5E0F27
triadic
#5E0F4E #4E5E0F #0F4E5E
tetradic
#5E0F4E #5E470F #0F5E1F #0F275E
square
#5E0F4E #5E470F #0F5E1F #0F275E
split-complementary
#5E0F4E #275E0F #0F5E47
monochromatic
#1A0416 #290722 #5E0F4E #93177A #C820A6

Accessibility & contrast

On white

12.69
#5E0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E0F4E
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F4E#FFFFFF#000000##FFFFFF
##5E0F4E1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B50
Deuteranopia (green-blind)
#2E374C
Tritanopia (blue-blind)
#64142E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e0f4e;
/* rgb */ color: rgb(94, 15, 78);
/* oklch */ color: oklch(33.7% 0.131 338.0);
Tailwind
colors: {
  custom: {
    50: '#8f587f',
    500: '#5e0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f4e;
$custom-light: #8f587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f4e",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 312.152,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33725,
    "c": 0.13086,
    "h": 338
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#5E0F4E
secondary
#319746
accent
#EF5E39
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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