#5E294E#5E294E

#5E294E is a dark, moderate pink. Relative luminance 0.045; OKLCH L 36.8% C 0.092 H 340.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#5E294E
RGBrgb(94, 41, 78)
HSLhsl(318, 39%, 26%)
HSVhsv(318, 56%, 37%)
CMYKcmyk(0%, 56.4%, 17%, 63.1%)
CIE-LABlab(25.31, 29.35, -11.56)
CIE-LCHlch(25.31, 31.55, 338.51°)
OKLaboklab(36.8% 0.0866 -0.0309)
OKLCHoklch(36.8% 0.092 340.3)
XYZxyz(6.7843, 4.5161, 7.7206)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E294E #295E39
analogous
#54295E #5E294E #5E2934
triadic
#5E294E #4E5E29 #294E5E
tetradic
#5E294E #5E5429 #295E39 #29345E
square
#5E294E #5E5429 #295E39 #29345E
split-complementary
#5E294E #345E29 #295E54
monochromatic
#150912 #33162B #5E294E #893C71 #B24F94

Accessibility & contrast

On white

11.03
#5E294E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5E294E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E294E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E294E#FFFFFF#000000##FFFFFF
##5E294E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#3A3F4D
Tritanopia (blue-blind)
#632A38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e294e;
/* rgb */ color: rgb(94, 41, 78);
/* oklch */ color: oklch(36.8% 0.092 340.3);
Tailwind
colors: {
  custom: {
    50: '#8d657f',
    500: '#5e294e',
    950: '#000000',
  },
}
SCSS
$custom: #5e294e;
$custom-light: #8d657f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e294e",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 318.113,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36804,
    "c": 0.09198,
    "h": 340.3
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#5E294E
secondary
#529165
accent
#CF7C59
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5E294E

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

Preview Lab → · Contrast checker → · Palette generator →

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