#5A153E#5A153E

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

Color values

HEX#5A153E
RGBrgb(90, 21, 62)
HSLhsl(324, 62%, 22%)
HSVhsv(324, 77%, 35%)
CMYKcmyk(0%, 76.7%, 31.1%, 64.7%)
CIE-LABlab(20.28, 35.31, -8.42)
CIE-LCHlch(20.28, 36.30, 346.58°)
OKLaboklab(32.72% 0.1075 -0.0221)
OKLCHoklch(32.72% 0.11 348.4)
XYZxyz(5.3544, 3.0584, 4.8648)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A153E #155A31
analogous
#54155A #5A153E #5A151C
triadic
#5A153E #3E5A15 #153E5A
tetradic
#5A153E #5A5415 #155A31 #151C5A
square
#5A153E #5A5415 #155A31 #151C5A
split-complementary
#5A153E #1C5A15 #155A54
monochromatic
#190611 #28091C #5A153E #8C2160 #BD2C82

Accessibility & contrast

On white

13.03
#5A153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A153E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A153E#FFFFFF#000000##FFFFFF
##5A153E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a153e;
/* rgb */ color: rgb(90, 21, 62);
/* oklch */ color: oklch(32.7% 0.110 348.4);
Tailwind
colors: {
  custom: {
    50: '#8c5973',
    500: '#5a153e',
    950: '#000000',
  },
}
SCSS
$custom: #5a153e;
$custom-light: #8c5973;
$custom-dark: #000000;
JSON
{
  "hex": "#5a153e",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 324.348,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.10973,
    "h": 348.4
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#5A153E
secondary
#39925D
accent
#E58543
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A153E

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

Preview Lab → · Contrast checker → · Palette generator →

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