#5E2147#5E2147

#5E2147 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.3% C 0.101 H 345.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#5E2147
RGBrgb(94, 33, 71)
HSLhsl(323, 48%, 25%)
HSVhsv(323, 65%, 37%)
CMYKcmyk(0%, 64.9%, 24.5%, 63.1%)
CIE-LABlab(23.41, 32.43, -9.75)
CIE-LCHlch(23.41, 33.86, 343.27°)
OKLaboklab(35.3% 0.0975 -0.0258)
OKLCHoklch(35.3% 0.101 345.2)
XYZxyz(6.2975, 3.9229, 6.3856)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2147 #215E38
analogous
#56215E #5E2147 #5E2129
triadic
#5E2147 #475E21 #21475E
tetradic
#5E2147 #5E5621 #215E38 #21295E
square
#5E2147 #5E5621 #215E38 #21295E
split-complementary
#5E2147 #295E21 #215E56
monochromatic
#170811 #311125 #5E2147 #8B3169 #B9418B

Accessibility & contrast

On white

11.77
#5E2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2147
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2147#FFFFFF#000000##FFFFFF
##5E21471.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273148
Deuteranopia (green-blind)
#383C46
Tritanopia (blue-blind)
#642031
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e2147;
/* rgb */ color: rgb(94, 33, 71);
/* oklch */ color: oklch(35.3% 0.101 345.2);
Tailwind
colors: {
  custom: {
    50: '#8e607a',
    500: '#5e2147',
    950: '#000000',
  },
}
SCSS
$custom: #5e2147;
$custom-light: #8e607a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2147",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 322.623,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35301,
    "c": 0.10084,
    "h": 345.2
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#5E2147
secondary
#499264
accent
#D88350
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0D0509
muted
#7D797B

Preview Lab

Preview with #5E2147

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

Preview Lab → · Contrast checker → · Palette generator →

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