#5B2149#5B2149

#5B2149 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.9% C 0.100 H 341.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#5B2149
RGBrgb(91, 33, 73)
HSLhsl(319, 47%, 24%)
HSVhsv(319, 64%, 36%)
CMYKcmyk(0%, 63.7%, 19.8%, 64.3%)
CIE-LABlab(22.98, 31.76, -11.82)
CIE-LCHlch(22.98, 33.88, 339.59°)
OKLaboklab(34.9% 0.0945 -0.0316)
OKLCHoklch(34.9% 0.1 341.5)
XYZxyz(6.0610, 3.7934, 6.7150)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2149 #215B33
analogous
#50215B #5B2149 #5B212C
triadic
#5B2149 #495B21 #21495B
tetradic
#5B2149 #5B5021 #215B33 #212C5B
square
#5B2149 #5B5021 #215B33 #212C5B
split-complementary
#5B2149 #2C5B21 #215B50
monochromatic
#160812 #2E1125 #5B2149 #88316D #B54291

Accessibility & contrast

On white

11.94
#5B2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5B2149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2149
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2149#FFFFFF#000000##FFFFFF
##5B21491.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25314A
Deuteranopia (green-blind)
#363A48
Tritanopia (blue-blind)
#612231
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5b2149;
/* rgb */ color: rgb(91, 33, 73);
/* oklch */ color: oklch(34.9% 0.100 341.5);
Tailwind
colors: {
  custom: {
    50: '#8b607b',
    500: '#5b2149',
    950: '#000000',
  },
}
SCSS
$custom: #5b2149;
$custom-light: #8b607b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2149",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 318.621,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34902,
    "c": 0.09961,
    "h": 341.5
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#5B2149
secondary
#498F5F
accent
#D67B51
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5B2149

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

Preview Lab → · Contrast checker → · Palette generator →

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