#5A153B#5A153B

#5A153B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.108 H 351.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#5A153B
RGBrgb(90, 21, 59)
HSLhsl(327, 62%, 22%)
HSVhsv(327, 77%, 35%)
CMYKcmyk(0%, 76.7%, 34.4%, 64.7%)
CIE-LABlab(20.15, 34.90, -6.53)
CIE-LCHlch(20.15, 35.50, 349.40°)
OKLaboklab(32.59% 0.1066 -0.0169)
OKLCHoklch(32.59% 0.108 351)
XYZxyz(5.2743, 3.0264, 4.4432)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A153B #155A34
analogous
#57155A #5A153B #5A1518
triadic
#5A153B #3B5A15 #153B5A
tetradic
#5A153B #5A5715 #155A34 #15185A
square
#5A153B #5A5715 #155A34 #15185A
split-complementary
#5A153B #185A15 #155A57
monochromatic
#190610 #28091A #5A153B #8C215C #BD2C7C

Accessibility & contrast

On white

13.08
#5A153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A153B
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A153B#FFFFFF#000000##FFFFFF
##5A153B1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293C
Deuteranopia (green-blind)
#343539
Tritanopia (blue-blind)
#611126
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a153b;
/* rgb */ color: rgb(90, 21, 59);
/* oklch */ color: oklch(32.6% 0.108 351.0);
Tailwind
colors: {
  custom: {
    50: '#8c5970',
    500: '#5a153b',
    950: '#000000',
  },
}
SCSS
$custom: #5a153b;
$custom-light: #8c5970;
$custom-dark: #000000;
JSON
{
  "hex": "#5a153b",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 326.957,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32588,
    "c": 0.10795,
    "h": 351
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#5A153B
secondary
#399261
accent
#E58C43
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A153B

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

Preview Lab → · Contrast checker → · Palette generator →

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