#5E1350#5E1350

#5E1350 is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.2% C 0.128 H 336.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#5E1350
RGBrgb(94, 19, 80)
HSLhsl(311, 66%, 22%)
HSVhsv(311, 80%, 37%)
CMYKcmyk(0%, 79.8%, 14.9%, 63.1%)
CIE-LABlab(21.67, 39.94, -18.53)
CIE-LCHlch(21.67, 44.03, 335.12°)
OKLaboklab(34.17% 0.1176 -0.0504)
OKLCHoklch(34.17% 0.128 336.8)
XYZxyz(6.2970, 3.4252, 7.9174)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1350 #135E21
analogous
#47135E #5E1350 #5E132B
triadic
#5E1350 #505E13 #13505E
tetradic
#5E1350 #5E4713 #135E21 #132B5E
square
#5E1350 #5E4713 #135E21 #132B5E
split-complementary
#5E1350 #2B5E13 #135E47
monochromatic
#190516 #2B0925 #5E1350 #911D7B #C428A7

Accessibility & contrast

On white

12.46
#5E1350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E1350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1350
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1350#FFFFFF#000000##FFFFFF
##5E13501.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152D52
Deuteranopia (green-blind)
#2F384E
Tritanopia (blue-blind)
#631830
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1350;
/* rgb */ color: rgb(94, 19, 80);
/* oklch */ color: oklch(34.2% 0.128 336.8);
Tailwind
colors: {
  custom: {
    50: '#8f5a81',
    500: '#5e1350',
    950: '#000000',
  },
}
SCSS
$custom: #5e1350;
$custom-light: #8f5a81;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1350",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 311.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34171,
    "c": 0.12792,
    "h": 336.8
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#5E1350
secondary
#379649
accent
#E95E3F
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1350

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

Preview Lab → · Contrast checker → · Palette generator →

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