#5A152D#5A152D

#5A152D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.102 H 3.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#5A152D
RGBrgb(90, 21, 45)
HSLhsl(339, 62%, 22%)
HSVhsv(339, 77%, 35%)
CMYKcmyk(0%, 76.7%, 50%, 64.7%)
CIE-LABlab(19.64, 33.21, 2.55)
CIE-LCHlch(19.64, 33.31, 4.39°)
OKLaboklab(32.05% 0.1016 0.0069)
OKLCHoklch(32.05% 0.102 3.9)
XYZxyz(4.9587, 2.9001, 2.7808)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A152D #155A42
analogous
#5A1550 #5A152D #5A1F15
triadic
#5A152D #2D5A15 #152D5A
tetradic
#5A152D #505A15 #155A42 #1F155A
square
#5A152D #505A15 #155A42 #1F155A
split-complementary
#5A152D #155A1F #15505A
monochromatic
#19060C #280914 #5A152D #8C2146 #BD2C5F

Accessibility & contrast

On white

13.29
#5A152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A152D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A152D#FFFFFF#000000##FFFFFF
##5A152D1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272E
Deuteranopia (green-blind)
#37342B
Tritanopia (blue-blind)
#62091F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a152d;
/* rgb */ color: rgb(90, 21, 45);
/* oklch */ color: oklch(32.0% 0.102 3.9);
Tailwind
colors: {
  custom: {
    50: '#8d5965',
    500: '#5a152d',
    950: '#000000',
  },
}
SCSS
$custom: #5a152d;
$custom-light: #8d5965;
$custom-dark: #000000;
JSON
{
  "hex": "#5a152d",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 339.13,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32046,
    "c": 0.10181,
    "h": 3.9
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#5A152D
secondary
#399273
accent
#E5AD43
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5A152D

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

Preview Lab → · Contrast checker → · Palette generator →

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