#5B153A#5B153A

#5B153A is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.108 H 352.4°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#5B153A
RGBrgb(91, 21, 58)
HSLhsl(328, 63%, 22%)
HSVhsv(328, 77%, 36%)
CMYKcmyk(0%, 76.9%, 36.3%, 64.3%)
CIE-LABlab(20.31, 35.08, -5.57)
CIE-LCHlch(20.31, 35.52, 350.97°)
OKLaboklab(32.73% 0.1073 -0.0143)
OKLCHoklch(32.73% 0.108 352.4)
XYZxyz(5.3466, 3.0666, 4.3125)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B153A #155B36
analogous
#59155B #5B153A #5B1517
triadic
#5B153A #3A5B15 #153A5B
tetradic
#5B153A #5B5915 #155B36 #15175B
square
#5B153A #5B5915 #155B36 #15175B
split-complementary
#5B153A #175B15 #155B59
monochromatic
#190610 #290A1A #5B153A #8D205A #BE2C79

Accessibility & contrast

On white

13.02
#5B153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5B153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B153A
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B153A#FFFFFF#000000##FFFFFF
##5B153A1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293B
Deuteranopia (green-blind)
#353638
Tritanopia (blue-blind)
#621025
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b153a;
/* rgb */ color: rgb(91, 21, 58);
/* oklch */ color: oklch(32.7% 0.108 352.4);
Tailwind
colors: {
  custom: {
    50: '#8d5970',
    500: '#5b153a',
    950: '#000000',
  },
}
SCSS
$custom: #5b153a;
$custom-light: #8d5970;
$custom-dark: #000000;
JSON
{
  "hex": "#5b153a",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 328.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32729,
    "c": 0.10829,
    "h": 352.4
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#5B153A
secondary
#399263
accent
#E68F42
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B153A

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

Preview Lab → · Contrast checker → · Palette generator →

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