#5E1B4E#5E1B4E

#5E1B4E is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.9% C 0.116 H 338.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#5E1B4E
RGBrgb(94, 27, 78)
HSLhsl(314, 55%, 24%)
HSVhsv(314, 71%, 37%)
CMYKcmyk(0%, 71.3%, 17%, 63.1%)
CIE-LABlab(22.70, 36.41, -15.57)
CIE-LCHlch(22.70, 39.60, 336.85°)
OKLaboklab(34.89% 0.1077 -0.0421)
OKLCHoklch(34.89% 0.116 338.6)
XYZxyz(6.3833, 3.7142, 7.5870)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B4E #1B5E2B
analogous
#4C1B5E #5E1B4E #5E1B2C
triadic
#5E1B4E #4E5E1B #1B4E5E
tetradic
#5E1B4E #5E4C1B #1B5E2B #1B2C5E
square
#5E1B4E #5E4C1B #1B5E2B #1B2C5E
split-complementary
#5E1B4E #2C5E1B #1B5E4C
monochromatic
#180714 #2E0D27 #5E1B4E #8E2975 #BD369D

Accessibility & contrast

On white

12.05
#5E1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5E1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B4E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B4E#FFFFFF#000000##FFFFFF
##5E1B4E1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E304F
Deuteranopia (green-blind)
#333A4C
Tritanopia (blue-blind)
#631E31
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1b4e;
/* rgb */ color: rgb(94, 27, 78);
/* oklch */ color: oklch(34.9% 0.116 338.6);
Tailwind
colors: {
  custom: {
    50: '#8e5d7f',
    500: '#5e1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b4e;
$custom-light: #8e5d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b4e",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 314.328,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34885,
    "c": 0.11564,
    "h": 338.6
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#5E1B4E
secondary
#419455
accent
#DF6D49
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5E1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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