#5A134A#5A134A

#5A134A is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.121 H 338.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#5A134A
RGBrgb(90, 19, 74)
HSLhsl(314, 65%, 21%)
HSVhsv(314, 79%, 35%)
CMYKcmyk(0%, 78.9%, 17.8%, 64.7%)
CIE-LABlab(20.57, 37.90, -16.22)
CIE-LCHlch(20.57, 41.22, 336.82°)
OKLaboklab(33.13% 0.1124 -0.044)
OKLCHoklch(33.13% 0.121 338.6)
XYZxyz(5.6855, 3.1344, 6.7828)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A134A #135A23
analogous
#47135A #5A134A #5A1327
triadic
#5A134A #4A5A13 #134A5A
tetradic
#5A134A #5A4713 #135A23 #13275A
square
#5A134A #5A4713 #135A23 #13275A
split-complementary
#5A134A #275A13 #135A47
monochromatic
#190515 #270820 #5A134A #8D1E74 #BF289D

Accessibility & contrast

On white

12.91
#5A134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5A134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A134A
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A134A#FFFFFF#000000##FFFFFF
##5A134A1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A4C
Deuteranopia (green-blind)
#2E3648
Tritanopia (blue-blind)
#5F162D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a134a;
/* rgb */ color: rgb(90, 19, 74);
/* oklch */ color: oklch(33.1% 0.121 338.6);
Tailwind
colors: {
  custom: {
    50: '#8b597c',
    500: '#5a134a',
    950: '#000000',
  },
}
SCSS
$custom: #5a134a;
$custom-light: #8b597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a134a",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 313.521,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33127,
    "c": 0.12069,
    "h": 338.6
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#5A134A
secondary
#37924B
accent
#E86640
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A134A

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

Preview Lab → · Contrast checker → · Palette generator →

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