#5E1750#5E1750

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

Color values

HEX#5E1750
RGBrgb(94, 23, 80)
HSLhsl(312, 61%, 23%)
HSVhsv(312, 76%, 37%)
CMYKcmyk(0%, 75.5%, 14.9%, 63.1%)
CIE-LABlab(22.20, 38.43, -17.70)
CIE-LCHlch(22.20, 42.31, 335.28°)
OKLaboklab(34.56% 0.1131 -0.0481)
OKLCHoklch(34.56% 0.123 337)
XYZxyz(6.3706, 3.5722, 7.9419)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1750 #175E25
analogous
#48175E #5E1750 #5E172C
triadic
#5E1750 #505E17 #17505E
tetradic
#5E1750 #5E4817 #175E25 #172C5E
square
#5E1750 #5E4817 #175E25 #172C5E
split-complementary
#5E1750 #2C5E17 #175E48
monochromatic
#190615 #2D0B26 #5E1750 #8F237A #C02FA4

Accessibility & contrast

On white

12.25
#5E1750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E1750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1750
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1750#FFFFFF#000000##FFFFFF
##5E17501.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E52
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#631B31
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1750;
/* rgb */ color: rgb(94, 23, 80);
/* oklch */ color: oklch(34.6% 0.123 337.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b81',
    500: '#5e1750',
    950: '#000000',
  },
}
SCSS
$custom: #5e1750;
$custom-light: #8e5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1750",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 80
  },
  "hsl": {
    "h": 311.831,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34555,
    "c": 0.12287,
    "h": 337
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#5E1750
secondary
#3C954E
accent
#E46444
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1750

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

Preview Lab → · Contrast checker → · Palette generator →

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