#5B153E#5B153E

#5B153E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.111 H 348.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#5B153E
RGBrgb(91, 21, 62)
HSLhsl(325, 63%, 22%)
HSVhsv(325, 77%, 36%)
CMYKcmyk(0%, 76.9%, 31.9%, 64.3%)
CIE-LABlab(20.47, 35.61, -8.10)
CIE-LCHlch(20.47, 36.53, 347.18°)
OKLaboklab(32.91% 0.1085 -0.0212)
OKLCHoklch(32.91% 0.111 348.9)
XYZxyz(5.4523, 3.1089, 4.8694)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B153E #155B32
analogous
#55155B #5B153E #5B151B
triadic
#5B153E #3E5B15 #153E5B
tetradic
#5B153E #5B5515 #155B32 #151B5B
square
#5B153E #5B5515 #155B32 #151B5B
split-complementary
#5B153E #1B5B15 #155B55
monochromatic
#190611 #290A1C #5B153E #8D2060 #BE2C82

Accessibility & contrast

On white

12.95
#5B153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5B153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B153E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B153E#FFFFFF#000000##FFFFFF
##5B153E1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#34363C
Tritanopia (blue-blind)
#621227
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b153e;
/* rgb */ color: rgb(91, 21, 62);
/* oklch */ color: oklch(32.9% 0.111 348.9);
Tailwind
colors: {
  custom: {
    50: '#8d5973',
    500: '#5b153e',
    950: '#000000',
  },
}
SCSS
$custom: #5b153e;
$custom-light: #8d5973;
$custom-dark: #000000;
JSON
{
  "hex": "#5b153e",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 324.857,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32905,
    "c": 0.11059,
    "h": 348.9
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#5B153E
secondary
#39925E
accent
#E68642
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B153E

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

Preview Lab → · Contrast checker → · Palette generator →

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