#5A153C#5A153C

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

Color values

HEX#5A153C
RGBrgb(90, 21, 60)
HSLhsl(326, 62%, 22%)
HSVhsv(326, 77%, 35%)
CMYKcmyk(0%, 76.7%, 33.3%, 64.7%)
CIE-LABlab(20.19, 35.03, -7.16)
CIE-LCHlch(20.19, 35.76, 348.44°)
OKLaboklab(32.63% 0.1069 -0.0187)
OKLCHoklch(32.63% 0.109 350.1)
XYZxyz(5.3005, 3.0368, 4.5811)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A153C #155A33
analogous
#56155A #5A153C #5A151A
triadic
#5A153C #3C5A15 #153C5A
tetradic
#5A153C #5A5615 #155A33 #151A5A
square
#5A153C #5A5615 #155A33 #151A5A
split-complementary
#5A153C #1A5A15 #155A56
monochromatic
#190611 #28091B #5A153C #8C215D #BD2C7E

Accessibility & contrast

On white

13.07
#5A153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A153C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A153C#FFFFFF#000000##FFFFFF
##5A153C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293D
Deuteranopia (green-blind)
#33353A
Tritanopia (blue-blind)
#611126
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a153c;
/* rgb */ color: rgb(90, 21, 60);
/* oklch */ color: oklch(32.6% 0.109 350.1);
Tailwind
colors: {
  custom: {
    50: '#8c5971',
    500: '#5a153c',
    950: '#000000',
  },
}
SCSS
$custom: #5a153c;
$custom-light: #8c5971;
$custom-dark: #000000;
JSON
{
  "hex": "#5a153c",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 326.087,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32632,
    "c": 0.10853,
    "h": 350.1
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#5A153C
secondary
#399260
accent
#E58943
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A153C

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

Preview Lab → · Contrast checker → · Palette generator →

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