#5B244C#5B244C

#5B244C is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.5% C 0.097 H 339.3°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#5B244C
RGBrgb(91, 36, 76)
HSLhsl(316, 43%, 25%)
HSVhsv(316, 60%, 36%)
CMYKcmyk(0%, 60.4%, 16.5%, 64.3%)
CIE-LABlab(23.70, 30.70, -12.73)
CIE-LCHlch(23.70, 33.23, 337.48°)
OKLaboklab(35.48% 0.0905 -0.0342)
OKLCHoklch(35.48% 0.097 339.3)
XYZxyz(6.2499, 4.0082, 7.2806)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B244C #245B33
analogous
#4F245B #5B244C #5B2430
triadic
#5B244C #4C5B24 #244C5B
tetradic
#5B244C #5B4F24 #245B33 #24305B
square
#5B244C #5B4F24 #245B33 #24305B
split-complementary
#5B244C #305B24 #245B4F
monochromatic
#160912 #2F1327 #5B244C #873571 #B34795

Accessibility & contrast

On white

11.66
#5B244C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5B244C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B244C
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B244C#FFFFFF#000000##FFFFFF
##5B244C1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334D
Deuteranopia (green-blind)
#363C4B
Tritanopia (blue-blind)
#602534
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5b244c;
/* rgb */ color: rgb(91, 36, 76);
/* oklch */ color: oklch(35.5% 0.097 339.3);
Tailwind
colors: {
  custom: {
    50: '#8b627e',
    500: '#5b244c',
    950: '#000000',
  },
}
SCSS
$custom: #5b244c;
$custom-light: #8b627e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b244c",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 76
  },
  "hsl": {
    "h": 316.364,
    "s": 43.307,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3548,
    "c": 0.09675,
    "h": 339.3
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#5B244C
secondary
#4C8F5E
accent
#D37755
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #5B244C

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

Preview Lab → · Contrast checker → · Palette generator →

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