#5A153D#5A153D

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

Color values

HEX#5A153D
RGBrgb(90, 21, 61)
HSLhsl(325, 62%, 22%)
HSVhsv(325, 77%, 35%)
CMYKcmyk(0%, 76.7%, 32.2%, 64.7%)
CIE-LABlab(20.23, 35.17, -7.79)
CIE-LCHlch(20.23, 36.02, 347.50°)
OKLaboklab(32.68% 0.1072 -0.0204)
OKLCHoklch(32.68% 0.109 349.2)
XYZxyz(5.3272, 3.0475, 4.7217)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A153D #155A32
analogous
#55155A #5A153D #5A151B
triadic
#5A153D #3D5A15 #153D5A
tetradic
#5A153D #5A5515 #155A32 #151B5A
square
#5A153D #5A5515 #155A32 #151B5A
split-complementary
#5A153D #1B5A15 #155A55
monochromatic
#190611 #28091B #5A153D #8C215F #BD2C80

Accessibility & contrast

On white

13.05
#5A153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A153D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A153D#FFFFFF#000000##FFFFFF
##5A153D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293E
Deuteranopia (green-blind)
#33353B
Tritanopia (blue-blind)
#611227
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a153d;
/* rgb */ color: rgb(90, 21, 61);
/* oklch */ color: oklch(32.7% 0.109 349.2);
Tailwind
colors: {
  custom: {
    50: '#8c5972',
    500: '#5a153d',
    950: '#000000',
  },
}
SCSS
$custom: #5a153d;
$custom-light: #8c5972;
$custom-dark: #000000;
JSON
{
  "hex": "#5a153d",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 325.217,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32677,
    "c": 0.10912,
    "h": 349.2
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A153D

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

Preview Lab → · Contrast checker → · Palette generator →

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