#5C2A4E#5C2A4E

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

Color values

HEX#5C2A4E
RGBrgb(92, 42, 78)
HSLhsl(317, 37%, 26%)
HSVhsv(317, 54%, 36%)
CMYKcmyk(0%, 54.3%, 15.2%, 63.9%)
CIE-LABlab(25.20, 28.08, -11.75)
CIE-LCHlch(25.20, 30.44, 337.30°)
OKLaboklab(36.66% 0.0824 -0.0315)
OKLCHoklch(36.66% 0.088 339.1)
XYZxyz(6.6168, 4.4818, 7.7228)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2A4E #2A5C38
analogous
#512A5C #5C2A4E #5C2A35
triadic
#5C2A4E #4E5C2A #2A4E5C
tetradic
#5C2A4E #5C512A #2A5C38 #2A355C
square
#5C2A4E #5C512A #2A5C38 #2A355C
split-complementary
#5C2A4E #355C2A #2A5C51
monochromatic
#150A12 #32172A #5C2A4E #863D72 #B05195

Accessibility & contrast

On white

11.07
#5C2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C2A4E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2A4E#FFFFFF#000000##FFFFFF
##5C2A4E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c2a4e;
/* rgb */ color: rgb(92, 42, 78);
/* oklch */ color: oklch(36.7% 0.088 339.1);
Tailwind
colors: {
  custom: {
    50: '#8c667f',
    500: '#5c2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5c2a4e;
$custom-light: #8c667f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2a4e",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 316.8,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3666,
    "c": 0.08826,
    "h": 339.1
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#5C2A4E
secondary
#538E64
accent
#CD7B5B
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5C2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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