#5E2A4E#5E2A4E

#5E2A4E is a dark, moderate pink. Relative luminance 0.046; OKLCH L 37.0% C 0.090 H 340.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#5E2A4E
RGBrgb(94, 42, 78)
HSLhsl(318, 38%, 27%)
HSVhsv(318, 55%, 37%)
CMYKcmyk(0%, 55.3%, 17%, 63.1%)
CIE-LABlab(25.52, 28.79, -11.23)
CIE-LCHlch(25.52, 30.90, 338.69°)
OKLaboklab(36.96% 0.085 -0.0301)
OKLCHoklch(36.96% 0.09 340.5)
XYZxyz(6.8193, 4.5862, 7.7323)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2A4E #2A5E3A
analogous
#542A5E #5E2A4E #5E2A34
triadic
#5E2A4E #4E5E2A #2A4E5E
tetradic
#5E2A4E #5E542A #2A5E3A #2A345E
square
#5E2A4E #5E542A #2A5E3A #2A345E
split-complementary
#5E2A4E #345E2A #2A5E54
monochromatic
#150912 #34172B #5E2A4E #883D71 #B15194

Accessibility & contrast

On white

10.95
#5E2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5E2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2A4E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2A4E#FFFFFF#000000##FFFFFF
##5E2A4E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374F
Deuteranopia (green-blind)
#3B404D
Tritanopia (blue-blind)
#632B38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e2a4e;
/* rgb */ color: rgb(94, 42, 78);
/* oklch */ color: oklch(37.0% 0.090 340.5);
Tailwind
colors: {
  custom: {
    50: '#8d667f',
    500: '#5e2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5e2a4e;
$custom-light: #8d667f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2a4e",
  "rgb": {
    "r": 94,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 318.462,
    "s": 38.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36962,
    "c": 0.09012,
    "h": 340.5
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#5E2A4E
secondary
#539066
accent
#CE7D5A
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5E2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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