#5B2139#5B2139

#5B2139 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.2% C 0.089 H 357.1°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#5B2139
RGBrgb(91, 33, 57)
HSLhsl(335, 47%, 24%)
HSVhsv(335, 64%, 36%)
CMYKcmyk(0%, 63.7%, 37.4%, 64.3%)
CIE-LABlab(22.33, 29.31, -1.87)
CIE-LCHlch(22.33, 29.37, 356.35°)
OKLaboklab(34.21% 0.0894 -0.0045)
OKLCHoklch(34.21% 0.089 357.1)
XYZxyz(5.5971, 3.6079, 4.2717)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2139 #215B43
analogous
#5B2156 #5B2139 #5B2621
triadic
#5B2139 #395B21 #21395B
tetradic
#5B2139 #565B21 #215B43 #26215B
square
#5B2139 #565B21 #215B43 #26215B
split-complementary
#5B2139 #215B26 #21565B
monochromatic
#16080E #2E111D #5B2139 #883155 #B54271

Accessibility & contrast

On white

12.20
#5B2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5B2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2139
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2139#FFFFFF#000000##FFFFFF
##5B21391.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3A
Deuteranopia (green-blind)
#3A3938
Tritanopia (blue-blind)
#621D2A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5b2139;
/* rgb */ color: rgb(91, 33, 57);
/* oklch */ color: oklch(34.2% 0.089 357.1);
Tailwind
colors: {
  custom: {
    50: '#8c5f6f',
    500: '#5b2139',
    950: '#000000',
  },
}
SCSS
$custom: #5b2139;
$custom-light: #8c5f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2139",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 335.172,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34211,
    "c": 0.08947,
    "h": 357.1
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#5B2139
secondary
#498F72
accent
#D69F51
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0507
muted
#7D797A

Preview Lab

Preview with #5B2139

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

Preview Lab → · Contrast checker → · Palette generator →

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