#5E294F#5E294F

#5E294F is a dark, moderate pink. Relative luminance 0.045; OKLCH L 36.9% C 0.093 H 339.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#5E294F
RGBrgb(94, 41, 79)
HSLhsl(317, 39%, 26%)
HSVhsv(317, 56%, 37%)
CMYKcmyk(0%, 56.4%, 16%, 63.1%)
CIE-LABlab(25.35, 29.53, -12.16)
CIE-LCHlch(25.35, 31.93, 337.62°)
OKLaboklab(36.85% 0.0869 -0.0326)
OKLCHoklch(36.85% 0.093 339.4)
XYZxyz(6.8204, 4.5306, 7.9109)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E294F #295E38
analogous
#53295E #5E294F #5E2935
triadic
#5E294F #4F5E29 #294F5E
tetradic
#5E294F #5E5329 #295E38 #29355E
square
#5E294F #5E5329 #295E38 #29355E
split-complementary
#5E294F #355E29 #295E53
monochromatic
#150912 #33162B #5E294F #893C73 #B24F96

Accessibility & contrast

On white

11.02
#5E294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5E294F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E294F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E294F#FFFFFF#000000##FFFFFF
##5E294F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e294f;
/* rgb */ color: rgb(94, 41, 79);
/* oklch */ color: oklch(36.9% 0.093 339.4);
Tailwind
colors: {
  custom: {
    50: '#8d6580',
    500: '#5e294f',
    950: '#000000',
  },
}
SCSS
$custom: #5e294f;
$custom-light: #8d6580;
$custom-dark: #000000;
JSON
{
  "hex": "#5e294f",
  "rgb": {
    "r": 94,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 316.981,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36851,
    "c": 0.09282,
    "h": 339.4
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

primary
#5E294F
secondary
#529164
accent
#CF7A59
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5E294F

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

Preview Lab → · Contrast checker → · Palette generator →

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