#5B2249#5B2249

#5B2249 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 35.0% C 0.098 H 341.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#5B2249
RGBrgb(91, 34, 73)
HSLhsl(319, 46%, 25%)
HSVhsv(319, 63%, 36%)
CMYKcmyk(0%, 62.6%, 19.8%, 64.3%)
CIE-LABlab(23.17, 31.24, -11.52)
CIE-LCHlch(23.17, 33.29, 339.75°)
OKLaboklab(35.04% 0.0929 -0.0308)
OKLCHoklch(35.04% 0.098 341.6)
XYZxyz(6.0891, 3.8498, 6.7244)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2249 #225B34
analogous
#51225B #5B2249 #5B222D
triadic
#5B2249 #495B22 #22495B
tetradic
#5B2249 #5B5122 #225B34 #222D5B
square
#5B2249 #5B5122 #225B34 #222D5B
split-complementary
#5B2249 #2D5B22 #225B51
monochromatic
#160812 #2E1125 #5B2249 #88336D #B44390

Accessibility & contrast

On white

11.87
#5B2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5B2249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2249
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2249#FFFFFF#000000##FFFFFF
##5B22491.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26314A
Deuteranopia (green-blind)
#363B48
Tritanopia (blue-blind)
#602332
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b2249;
/* rgb */ color: rgb(91, 34, 73);
/* oklch */ color: oklch(35.0% 0.098 341.6);
Tailwind
colors: {
  custom: {
    50: '#8b617b',
    500: '#5b2249',
    950: '#000000',
  },
}
SCSS
$custom: #5b2249;
$custom-light: #8b617b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2249",
  "rgb": {
    "r": 91,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 318.947,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35044,
    "c": 0.09787,
    "h": 341.6
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#5B2249
secondary
#4A8F60
accent
#D57C53
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5B2249

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

Preview Lab → · Contrast checker → · Palette generator →

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