#5E1648#5E1648

#5E1648 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.0% C 0.118 H 342.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#5E1648
RGBrgb(94, 22, 72)
HSLhsl(318, 62%, 23%)
HSVhsv(318, 77%, 37%)
CMYKcmyk(0%, 76.6%, 23.4%, 63.1%)
CIE-LABlab(21.66, 37.56, -13.11)
CIE-LCHlch(21.66, 39.78, 340.75°)
OKLaboklab(34.03% 0.1129 -0.0351)
OKLCHoklch(34.03% 0.118 342.7)
XYZxyz(6.0729, 3.4220, 6.4703)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1648 #165E2C
analogous
#50165E #5E1648 #5E1624
triadic
#5E1648 #485E16 #16485E
tetradic
#5E1648 #5E5016 #165E2C #16245E
square
#5E1648 #5E5016 #165E2C #16245E
split-complementary
#5E1648 #245E16 #165E50
monochromatic
#190613 #2C0A22 #5E1648 #90226E #C12D94

Accessibility & contrast

On white

12.47
#5E1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E1648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1648
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1648#FFFFFF#000000##FFFFFF
##5E16481.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C49
Deuteranopia (green-blind)
#333846
Tritanopia (blue-blind)
#64162D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1648;
/* rgb */ color: rgb(94, 22, 72);
/* oklch */ color: oklch(34.0% 0.118 342.7);
Tailwind
colors: {
  custom: {
    50: '#8f5b7b',
    500: '#5e1648',
    950: '#000000',
  },
}
SCSS
$custom: #5e1648;
$custom-light: #8f5b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1648",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 318.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34029,
    "c": 0.11823,
    "h": 342.7
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#5E1648
secondary
#3B9556
accent
#E57443
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1648

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

Preview Lab → · Contrast checker → · Palette generator →

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