#5B1037#5B1037

#5B1037 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.113 H 354.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#5B1037
RGBrgb(91, 16, 55)
HSLhsl(329, 70%, 21%)
HSVhsv(329, 82%, 36%)
CMYKcmyk(0%, 82.4%, 39.6%, 64.3%)
CIE-LABlab(19.52, 36.58, -4.65)
CIE-LCHlch(19.52, 36.88, 352.75°)
OKLaboklab(32.11% 0.1123 -0.0118)
OKLCHoklch(32.11% 0.113 354)
XYZxyz(5.1896, 2.8712, 3.8946)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1037 #105B34
analogous
#59105B #5B1037 #5B1011
triadic
#5B1037 #375B10 #10375B
tetradic
#5B1037 #5B5910 #105B34 #10115B
square
#5B1037 #5B5910 #105B34 #10115B
split-complementary
#5B1037 #115B10 #105B59
monochromatic
#1A0510 #270718 #5B1037 #8F1956 #C32276

Accessibility & contrast

On white

13.34
#5B1037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B1037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1037
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1037#FFFFFF#000000##FFFFFF
##5B10371.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2738
Deuteranopia (green-blind)
#343435
Tritanopia (blue-blind)
#630722
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1037;
/* rgb */ color: rgb(91, 16, 55);
/* oklch */ color: oklch(32.1% 0.113 354.0);
Tailwind
colors: {
  custom: {
    50: '#8d576d',
    500: '#5b1037',
    950: '#000000',
  },
}
SCSS
$custom: #5b1037;
$custom-light: #8d576d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1037",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 328.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32113,
    "c": 0.11296,
    "h": 354
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#5B1037
secondary
#339461
accent
#ED903B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5B1037

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

Preview Lab → · Contrast checker → · Palette generator →

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