#5A153F#5A153F

#5A153F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.110 H 347.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5A153F
RGBrgb(90, 21, 63)
HSLhsl(323, 62%, 22%)
HSVhsv(323, 77%, 35%)
CMYKcmyk(0%, 76.7%, 30%, 64.7%)
CIE-LABlab(20.32, 35.45, -9.05)
CIE-LCHlch(20.32, 36.59, 345.68°)
OKLaboklab(32.77% 0.1078 -0.0238)
OKLCHoklch(32.77% 0.11 347.5)
XYZxyz(5.3821, 3.0695, 5.0107)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A153F #155A30
analogous
#53155A #5A153F #5A151D
triadic
#5A153F #3F5A15 #153F5A
tetradic
#5A153F #5A5315 #155A30 #151D5A
square
#5A153F #5A5315 #155A30 #151D5A
split-complementary
#5A153F #1D5A15 #155A53
monochromatic
#190611 #28091C #5A153F #8C2162 #BD2C84

Accessibility & contrast

On white

13.01
#5A153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A153F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A153F#FFFFFF#000000##FFFFFF
##5A153F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2940
Deuteranopia (green-blind)
#33353D
Tritanopia (blue-blind)
#611328
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a153f;
/* rgb */ color: rgb(90, 21, 63);
/* oklch */ color: oklch(32.8% 0.110 347.5);
Tailwind
colors: {
  custom: {
    50: '#8c5974',
    500: '#5a153f',
    950: '#000000',
  },
}
SCSS
$custom: #5a153f;
$custom-light: #8c5974;
$custom-dark: #000000;
JSON
{
  "hex": "#5a153f",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 323.478,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32769,
    "c": 0.11036,
    "h": 347.5
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#5A153F
secondary
#39925C
accent
#E58243
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A153F

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

Preview Lab → · Contrast checker → · Palette generator →

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