#5A153A#5A153A

#5A153A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.107 H 351.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#5A153A
RGBrgb(90, 21, 58)
HSLhsl(328, 62%, 22%)
HSVhsv(328, 77%, 35%)
CMYKcmyk(0%, 76.7%, 35.6%, 64.7%)
CIE-LABlab(20.11, 34.76, -5.89)
CIE-LCHlch(20.11, 35.26, 350.38°)
OKLaboklab(32.55% 0.1063 -0.0152)
OKLCHoklch(32.55% 0.107 351.9)
XYZxyz(5.2486, 3.0161, 4.3079)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A153A #155A35
analogous
#58155A #5A153A #5A1518
triadic
#5A153A #3A5A15 #153A5A
tetradic
#5A153A #5A5815 #155A35 #15185A
square
#5A153A #5A5815 #155A35 #15185A
split-complementary
#5A153A #185A15 #155A58
monochromatic
#190610 #28091A #5A153A #8C215A #BD2C7A

Accessibility & contrast

On white

13.10
#5A153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5A153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A153A
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A153A#FFFFFF#000000##FFFFFF
##5A153A1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293B
Deuteranopia (green-blind)
#343538
Tritanopia (blue-blind)
#611025
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a153a;
/* rgb */ color: rgb(90, 21, 58);
/* oklch */ color: oklch(32.5% 0.107 351.9);
Tailwind
colors: {
  custom: {
    50: '#8c5970',
    500: '#5a153a',
    950: '#000000',
  },
}
SCSS
$custom: #5a153a;
$custom-light: #8c5970;
$custom-dark: #000000;
JSON
{
  "hex": "#5a153a",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 327.826,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32545,
    "c": 0.10739,
    "h": 351.9
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#5A153A
secondary
#399262
accent
#E58E43
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A153A

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

Preview Lab → · Contrast checker → · Palette generator →

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