#5B244B#5B244B

#5B244B is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.4% C 0.096 H 340.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#5B244B
RGBrgb(91, 36, 75)
HSLhsl(317, 43%, 25%)
HSVhsv(317, 60%, 36%)
CMYKcmyk(0%, 60.4%, 17.6%, 64.3%)
CIE-LABlab(23.65, 30.52, -12.13)
CIE-LCHlch(23.65, 32.84, 338.33°)
OKLaboklab(35.43% 0.0902 -0.0325)
OKLCHoklch(35.43% 0.096 340.2)
XYZxyz(6.2154, 3.9944, 7.0989)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B244B #245B34
analogous
#50245B #5B244B #5B242F
triadic
#5B244B #4B5B24 #244B5B
tetradic
#5B244B #5B5024 #245B34 #242F5B
square
#5B244B #5B5024 #245B34 #242F5B
split-complementary
#5B244B #2F5B24 #245B50
monochromatic
#160912 #2F1327 #5B244B #87356F #B34793

Accessibility & contrast

On white

11.67
#5B244B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B244B
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B244B#FFFFFF#000000##FFFFFF
##5B244B1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27334C
Deuteranopia (green-blind)
#373C4A
Tritanopia (blue-blind)
#602534
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5b244b;
/* rgb */ color: rgb(91, 36, 75);
/* oklch */ color: oklch(35.4% 0.096 340.2);
Tailwind
colors: {
  custom: {
    50: '#8b627d',
    500: '#5b244b',
    950: '#000000',
  },
}
SCSS
$custom: #5b244b;
$custom-light: #8b627d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b244b",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 75
  },
  "hsl": {
    "h": 317.455,
    "s": 43.307,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.09593,
    "h": 340.2
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#5B244B
secondary
#4C8F60
accent
#D37955
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5B244B

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

Preview Lab → · Contrast checker → · Palette generator →

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