#5B1330#5B1330

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

Color values

HEX#5B1330
RGBrgb(91, 19, 48)
HSLhsl(336, 65%, 22%)
HSVhsv(336, 79%, 36%)
CMYKcmyk(0%, 79.1%, 47.3%, 64.3%)
CIE-LABlab(19.65, 34.67, 0.48)
CIE-LCHlch(19.65, 34.67, 0.79°)
OKLaboklab(32.13% 0.1063 0.0016)
OKLCHoklch(32.13% 0.106 0.9)
XYZxyz(5.0811, 2.9039, 3.0887)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1330 #135B3E
analogous
#5B1354 #5B1330 #5B1A13
triadic
#5B1330 #305B13 #13305B
tetradic
#5B1330 #545B13 #135B3E #1A135B
square
#5B1330 #545B13 #135B3E #1A135B
split-complementary
#5B1330 #135B1A #13545B
monochromatic
#19050D #280815 #5B1330 #8E1E4B #C02865

Accessibility & contrast

On white

13.29
#5B1330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1330
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1330#FFFFFF#000000##FFFFFF
##5B13301.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232731
Deuteranopia (green-blind)
#36352E
Tritanopia (blue-blind)
#63071F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1330;
/* rgb */ color: rgb(91, 19, 48);
/* oklch */ color: oklch(32.1% 0.106 0.9);
Tailwind
colors: {
  custom: {
    50: '#8d5868',
    500: '#5b1330',
    950: '#000000',
  },
}
SCSS
$custom: #5b1330;
$custom-light: #8d5868;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1330",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 48
  },
  "hsl": {
    "h": 335.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32128,
    "c": 0.10635,
    "h": 0.9
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#5B1330
secondary
#37936E
accent
#E8A43F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1330

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

Preview Lab → · Contrast checker → · Palette generator →

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