#5B1129#5B1129

#5B1129 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.107 H 6.6°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#5B1129
RGBrgb(91, 17, 41)
HSLhsl(341, 69%, 21%)
HSVhsv(341, 81%, 36%)
CMYKcmyk(0%, 81.3%, 54.9%, 64.3%)
CIE-LABlab(19.16, 34.71, 4.74)
CIE-LCHlch(19.16, 35.04, 7.77°)
OKLaboklab(31.69% 0.1059 0.0123)
OKLCHoklch(31.69% 0.107 6.6)
XYZxyz(4.9155, 2.7858, 2.3763)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1129 #115B43
analogous
#5B114E #5B1129 #5B1E11
triadic
#5B1129 #295B11 #11295B
tetradic
#5B1129 #4E5B11 #115B43 #1E115B
square
#5B1129 #4E5B11 #115B43 #1E115B
split-complementary
#5B1129 #115B1E #114E5B
monochromatic
#1A050C #270712 #5B1129 #8F1B40 #C22457

Accessibility & contrast

On white

13.49
#5B1129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5B1129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1129
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1129#FFFFFF#000000##FFFFFF
##5B11291.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242529
Deuteranopia (green-blind)
#373427
Tritanopia (blue-blind)
#64011B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1129;
/* rgb */ color: rgb(91, 17, 41);
/* oklch */ color: oklch(31.7% 0.107 6.6);
Tailwind
colors: {
  custom: {
    50: '#8e5762',
    500: '#5b1129',
    950: '#000000',
  },
}
SCSS
$custom: #5b1129;
$custom-light: #8e5762;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1129",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 340.541,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31694,
    "c": 0.10663,
    "h": 6.6
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#5B1129
secondary
#349475
accent
#EBB33C
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B1129

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

Preview Lab → · Contrast checker → · Palette generator →

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