#5E214D#5E214D

#5E214D is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.6% C 0.105 H 340.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#5E214D
RGBrgb(94, 33, 77)
HSLhsl(317, 48%, 25%)
HSVhsv(317, 65%, 37%)
CMYKcmyk(0%, 64.9%, 18.1%, 63.1%)
CIE-LABlab(23.68, 33.41, -13.38)
CIE-LCHlch(23.68, 35.99, 338.17°)
OKLaboklab(35.59% 0.099 -0.036)
OKLCHoklch(35.59% 0.105 340)
XYZxyz(6.4996, 4.0038, 7.4502)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E214D #215E32
analogous
#50215E #5E214D #5E212F
triadic
#5E214D #4D5E21 #214D5E
tetradic
#5E214D #5E5021 #215E32 #212F5E
square
#5E214D #5E5021 #215E32 #212F5E
split-complementary
#5E214D #2F5E21 #215E50
monochromatic
#170813 #311128 #5E214D #8B3172 #B94197

Accessibility & contrast

On white

11.66
#5E214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E214D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E214D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E214D#FFFFFF#000000##FFFFFF
##5E214D1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324E
Deuteranopia (green-blind)
#363C4B
Tritanopia (blue-blind)
#632233
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e214d;
/* rgb */ color: rgb(94, 33, 77);
/* oklch */ color: oklch(35.6% 0.105 340.0);
Tailwind
colors: {
  custom: {
    50: '#8e607f',
    500: '#5e214d',
    950: '#000000',
  },
}
SCSS
$custom: #5e214d;
$custom-light: #8e607f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e214d",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 316.721,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35587,
    "c": 0.10534,
    "h": 340
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#5E214D
secondary
#49925D
accent
#D87650
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #5E214D

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

Preview Lab → · Contrast checker → · Palette generator →

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