#5E1749#5E1749

#5E1749 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.118 H 342.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#5E1749
RGBrgb(94, 23, 73)
HSLhsl(318, 61%, 23%)
HSVhsv(318, 76%, 37%)
CMYKcmyk(0%, 75.5%, 22.3%, 63.1%)
CIE-LABlab(21.85, 37.31, -13.50)
CIE-LCHlch(21.85, 39.68, 340.11°)
OKLaboklab(34.18% 0.1119 -0.0362)
OKLCHoklch(34.18% 0.118 342.1)
XYZxyz(6.1253, 3.4741, 6.6500)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1749 #175E2C
analogous
#4F175E #5E1749 #5E1726
triadic
#5E1749 #495E17 #17495E
tetradic
#5E1749 #5E4F17 #175E2C #17265E
square
#5E1749 #5E4F17 #175E2C #17265E
split-complementary
#5E1749 #265E17 #175E4F
monochromatic
#190613 #2D0B23 #5E1749 #8F236F #C02F95

Accessibility & contrast

On white

12.39
#5E1749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1749
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1749#FFFFFF#000000##FFFFFF
##5E17491.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4A
Deuteranopia (green-blind)
#333947
Tritanopia (blue-blind)
#64182D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1749;
/* rgb */ color: rgb(94, 23, 73);
/* oklch */ color: oklch(34.2% 0.118 342.1);
Tailwind
colors: {
  custom: {
    50: '#8f5b7c',
    500: '#5e1749',
    950: '#000000',
  },
}
SCSS
$custom: #5e1749;
$custom-light: #8f5b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1749",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 317.746,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34184,
    "c": 0.11759,
    "h": 342.1
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#5E1749
secondary
#3C9556
accent
#E47344
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1749

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

Preview Lab → · Contrast checker → · Palette generator →

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