#5E1051#5E1051

#5E1051 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 34.0% C 0.132 H 336.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#5E1051
RGBrgb(94, 16, 81)
HSLhsl(310, 71%, 22%)
HSVhsv(310, 83%, 37%)
CMYKcmyk(0%, 83%, 13.8%, 63.1%)
CIE-LABlab(21.38, 41.11, -19.67)
CIE-LCHlch(21.38, 45.57, 334.43°)
OKLaboklab(33.98% 0.1207 -0.0537)
OKLCHoklch(33.98% 0.132 336)
XYZxyz(6.2867, 3.3449, 8.0975)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1051 #105E1D
analogous
#44105E #5E1051 #5E102A
triadic
#5E1051 #515E10 #10515E
tetradic
#5E1051 #5E4410 #105E1D #102A5E
square
#5E1051 #5E4410 #105E1D #102A5E
split-complementary
#5E1051 #2A5E10 #105E44
monochromatic
#1A0417 #2A0724 #5E1051 #92197E #C722AB

Accessibility & contrast

On white

12.58
#5E1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1051
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1051#FFFFFF#000000##FFFFFF
##5E10511.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112C53
Deuteranopia (green-blind)
#2E374F
Tritanopia (blue-blind)
#631630
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1051;
/* rgb */ color: rgb(94, 16, 81);
/* oklch */ color: oklch(34.0% 0.132 336.0);
Tailwind
colors: {
  custom: {
    50: '#8f5982',
    500: '#5e1051',
    950: '#000000',
  },
}
SCSS
$custom: #5e1051;
$custom-light: #8f5982;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1051",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 310,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33975,
    "c": 0.13205,
    "h": 336
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#5E1051
secondary
#339744
accent
#EE583A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1051

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

Preview Lab → · Contrast checker → · Palette generator →

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