#5E294B#5E294B

#5E294B is a dark, moderate pink. Relative luminance 0.045; OKLCH L 36.7% C 0.090 H 343.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#5E294B
RGBrgb(94, 41, 75)
HSLhsl(322, 39%, 26%)
HSVhsv(322, 56%, 37%)
CMYKcmyk(0%, 56.4%, 20.2%, 63.1%)
CIE-LABlab(25.18, 28.83, -9.75)
CIE-LCHlch(25.18, 30.43, 341.31°)
OKLaboklab(36.67% 0.0858 -0.0259)
OKLCHoklch(36.67% 0.09 343.2)
XYZxyz(6.6792, 4.4741, 7.1671)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E294B #295E3C
analogous
#57295E #5E294B #5E2931
triadic
#5E294B #4B5E29 #294B5E
tetradic
#5E294B #5E5729 #295E3C #29315E
square
#5E294B #5E5729 #295E3C #29315E
split-complementary
#5E294B #315E29 #295E57
monochromatic
#150911 #331629 #5E294B #893C6D #B24F8F

Accessibility & contrast

On white

11.08
#5E294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5E294B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E294B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E294B#FFFFFF#000000##FFFFFF
##5E294B1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364C
Deuteranopia (green-blind)
#3B3F4A
Tritanopia (blue-blind)
#642936
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e294b;
/* rgb */ color: rgb(94, 41, 75);
/* oklch */ color: oklch(36.7% 0.090 343.2);
Tailwind
colors: {
  custom: {
    50: '#8d657d',
    500: '#5e294b',
    950: '#000000',
  },
}
SCSS
$custom: #5e294b;
$custom-light: #8d657d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e294b",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 321.509,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36666,
    "c": 0.08959,
    "h": 343.2
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#5E294B
secondary
#529169
accent
#CF8359
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C0609
muted
#7D7A7B

Preview Lab

Preview with #5E294B

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

Preview Lab → · Contrast checker → · Palette generator →

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