#5E1850#5E1850

#5E1850 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.7% C 0.122 H 337.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#5E1850
RGBrgb(94, 24, 80)
HSLhsl(312, 59%, 23%)
HSVhsv(312, 74%, 37%)
CMYKcmyk(0%, 74.5%, 14.9%, 63.1%)
CIE-LABlab(22.35, 38.03, -17.47)
CIE-LCHlch(22.35, 41.85, 335.32°)
OKLaboklab(34.66% 0.1119 -0.0475)
OKLCHoklch(34.66% 0.122 337)
XYZxyz(6.3908, 3.6127, 7.9486)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1850 #185E26
analogous
#49185E #5E1850 #5E182D
triadic
#5E1850 #505E18 #18505E
tetradic
#5E1850 #5E4918 #185E26 #182D5E
square
#5E1850 #5E4918 #185E26 #182D5E
split-complementary
#5E1850 #2D5E18 #185E49
monochromatic
#180615 #2D0C27 #5E1850 #8F2479 #C031A3

Accessibility & contrast

On white

12.19
#5E1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1850
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1850#FFFFFF#000000##FFFFFF
##5E18501.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2F52
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#631C31
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1850;
/* rgb */ color: rgb(94, 24, 80);
/* oklch */ color: oklch(34.7% 0.122 337.0);
Tailwind
colors: {
  custom: {
    50: '#8e5c81',
    500: '#5e1850',
    950: '#000000',
  },
}
SCSS
$custom: #5e1850;
$custom-light: #8e5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1850",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 312,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34659,
    "c": 0.12151,
    "h": 337
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#5E1850
secondary
#3D944F
accent
#E36545
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1850

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

Preview Lab → · Contrast checker → · Palette generator →

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