#5E1647#5E1647

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

Color values

HEX#5E1647
RGBrgb(94, 22, 71)
HSLhsl(319, 62%, 23%)
HSVhsv(319, 77%, 37%)
CMYKcmyk(0%, 76.6%, 24.5%, 63.1%)
CIE-LABlab(21.61, 37.41, -12.50)
CIE-LCHlch(21.61, 39.44, 341.52°)
OKLaboklab(33.98% 0.1127 -0.0334)
OKLCHoklch(33.98% 0.118 343.5)
XYZxyz(6.0406, 3.4091, 6.2999)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1647 #165E2D
analogous
#51165E #5E1647 #5E1623
triadic
#5E1647 #475E16 #16475E
tetradic
#5E1647 #5E5116 #165E2D #16235E
square
#5E1647 #5E5116 #165E2D #16235E
split-complementary
#5E1647 #235E16 #165E51
monochromatic
#190613 #2C0A22 #5E1647 #90226C #C12D92

Accessibility & contrast

On white

12.49
#5E1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1647
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1647#FFFFFF#000000##FFFFFF
##5E16471.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C48
Deuteranopia (green-blind)
#333845
Tritanopia (blue-blind)
#64162C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1647;
/* rgb */ color: rgb(94, 22, 71);
/* oklch */ color: oklch(34.0% 0.118 343.5);
Tailwind
colors: {
  custom: {
    50: '#8f5b7a',
    500: '#5e1647',
    950: '#000000',
  },
}
SCSS
$custom: #5e1647;
$custom-light: #8f5b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1647",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 319.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33979,
    "c": 0.11753,
    "h": 343.5
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#5E1647
secondary
#3B9558
accent
#E57743
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1647

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

Preview Lab → · Contrast checker → · Palette generator →

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