#5E1050#5E1050

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

Color values

HEX#5E1050
RGBrgb(94, 16, 80)
HSLhsl(311, 71%, 22%)
HSVhsv(311, 83%, 37%)
CMYKcmyk(0%, 83%, 14.9%, 63.1%)
CIE-LABlab(21.32, 40.95, -19.08)
CIE-LCHlch(21.32, 45.17, 335.02°)
OKLaboklab(33.92% 0.1206 -0.052)
OKLCHoklch(33.92% 0.131 336.7)
XYZxyz(6.2495, 3.3300, 7.9015)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1050 #105E1E
analogous
#45105E #5E1050 #5E1029
triadic
#5E1050 #505E10 #10505E
tetradic
#5E1050 #5E4510 #105E1E #10295E
square
#5E1050 #5E4510 #105E1E #10295E
split-complementary
#5E1050 #295E10 #105E45
monochromatic
#1A0416 #2A0723 #5E1050 #92197D #C722A9

Accessibility & contrast

On white

12.61
#5E1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E1050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1050
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1050#FFFFFF#000000##FFFFFF
##5E10501.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122C52
Deuteranopia (green-blind)
#2E374E
Tritanopia (blue-blind)
#63162F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1050;
/* rgb */ color: rgb(94, 16, 80);
/* oklch */ color: oklch(33.9% 0.131 336.7);
Tailwind
colors: {
  custom: {
    50: '#8f5981',
    500: '#5e1050',
    950: '#000000',
  },
}
SCSS
$custom: #5e1050;
$custom-light: #8f5981;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1050",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 310.769,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33918,
    "c": 0.1313,
    "h": 336.7
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#5E1050
secondary
#339745
accent
#EE5A3A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1050

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

Preview Lab → · Contrast checker → · Palette generator →

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