#5B1130#5B1130

#5B1130 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.109 H 0.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#5B1130
RGBrgb(91, 17, 48)
HSLhsl(335, 69%, 21%)
HSVhsv(335, 81%, 36%)
CMYKcmyk(0%, 81.3%, 47.3%, 64.3%)
CIE-LABlab(19.39, 35.42, 0.09)
CIE-LCHlch(19.39, 35.42, 0.14°)
OKLaboklab(31.93% 0.1087 0.0006)
OKLCHoklch(31.93% 0.109 0.3)
XYZxyz(5.0487, 2.8391, 3.0779)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1130 #115B3C
analogous
#5B1155 #5B1130 #5B1711
triadic
#5B1130 #305B11 #11305B
tetradic
#5B1130 #555B11 #115B3C #17115B
square
#5B1130 #555B11 #115B3C #17115B
split-complementary
#5B1130 #115B17 #11555B
monochromatic
#1A050E #270715 #5B1130 #8F1B4B #C22466

Accessibility & contrast

On white

13.40
#5B1130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1130
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1130#FFFFFF#000000##FFFFFF
##5B11301.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222631
Deuteranopia (green-blind)
#36342E
Tritanopia (blue-blind)
#63051F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1130;
/* rgb */ color: rgb(91, 17, 48);
/* oklch */ color: oklch(31.9% 0.109 0.3);
Tailwind
colors: {
  custom: {
    50: '#8e5768',
    500: '#5b1130',
    950: '#000000',
  },
}
SCSS
$custom: #5b1130;
$custom-light: #8e5768;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1130",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 334.865,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.10874,
    "h": 0.3
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#5B1130
secondary
#34946C
accent
#EBA23C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B1130

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

Preview Lab → · Contrast checker → · Palette generator →

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