#5B2C4E#5B2C4E

#5B2C4E is a dark, moderate pink. Relative luminance 0.046; OKLCH L 36.8% C 0.083 H 338.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#5B2C4E
RGBrgb(91, 44, 78)
HSLhsl(317, 35%, 26%)
HSVhsv(317, 52%, 36%)
CMYKcmyk(0%, 51.6%, 14.3%, 64.3%)
CIE-LABlab(25.49, 26.57, -11.32)
CIE-LCHlch(25.49, 28.88, 336.92°)
OKLaboklab(36.84% 0.0778 -0.0304)
OKLCHoklch(36.84% 0.083 338.7)
XYZxyz(6.5903, 4.5760, 7.7424)
Luminance0.0458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2C4E #2C5B39
analogous
#512C5B #5B2C4E #5B2C37
triadic
#5B2C4E #4E5B2C #2C4E5B
tetradic
#5B2C4E #5B512C #2C5B39 #2C375B
square
#5B2C4E #5B512C #2C5B39 #2C375B
split-complementary
#5B2C4E #375B2C #2C5B51
monochromatic
#150A12 #32182B #5B2C4E #844071 #AD5594

Accessibility & contrast

On white

10.96
#5B2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B2C4E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2C4E#FFFFFF#000000##FFFFFF
##5B2C4E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#3A3F4D
Tritanopia (blue-blind)
#602D39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5b2c4e;
/* rgb */ color: rgb(91, 44, 78);
/* oklch */ color: oklch(36.8% 0.083 338.7);
Tailwind
colors: {
  custom: {
    50: '#8b677f',
    500: '#5b2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #5b2c4e;
$custom-light: #8b677f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2c4e",
  "rgb": {
    "r": 91,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 316.596,
    "s": 34.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.08349,
    "h": 338.7
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#5B2C4E
secondary
#568D65
accent
#CB7B5D
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C

Preview Lab

Preview with #5B2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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