#5B1038#5B1038

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

Color values

HEX#5B1038
RGBrgb(91, 16, 56)
HSLhsl(328, 70%, 21%)
HSVhsv(328, 82%, 36%)
CMYKcmyk(0%, 82.4%, 38.5%, 64.3%)
CIE-LABlab(19.56, 36.70, -5.30)
CIE-LCHlch(19.56, 37.08, 351.79°)
OKLaboklab(32.16% 0.1127 -0.0136)
OKLCHoklch(32.16% 0.113 353.1)
XYZxyz(5.2138, 2.8809, 4.0221)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1038 #105B33
analogous
#58105B #5B1038 #5B1012
triadic
#5B1038 #385B10 #10385B
tetradic
#5B1038 #5B5810 #105B33 #10125B
square
#5B1038 #5B5810 #105B33 #10125B
split-complementary
#5B1038 #125B10 #105B58
monochromatic
#1A0510 #270718 #5B1038 #8F1958 #C32278

Accessibility & contrast

On white

13.32
#5B1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5B1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1038
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1038#FFFFFF#000000##FFFFFF
##5B10381.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2739
Deuteranopia (green-blind)
#343436
Tritanopia (blue-blind)
#630822
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1038;
/* rgb */ color: rgb(91, 16, 56);
/* oklch */ color: oklch(32.2% 0.113 353.1);
Tailwind
colors: {
  custom: {
    50: '#8d576e',
    500: '#5b1038',
    950: '#000000',
  },
}
SCSS
$custom: #5b1038;
$custom-light: #8d576e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1038",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 328,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32155,
    "c": 0.11346,
    "h": 353.1
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#5B1038
secondary
#339460
accent
#ED8E3B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5B1038

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

Preview Lab → · Contrast checker → · Palette generator →

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