#5A134B#5A134B

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

Color values

HEX#5A134B
RGBrgb(90, 19, 75)
HSLhsl(313, 65%, 21%)
HSVhsv(313, 79%, 35%)
CMYKcmyk(0%, 78.9%, 16.7%, 64.7%)
CIE-LABlab(20.63, 38.06, -16.82)
CIE-LCHlch(20.63, 41.61, 336.15°)
OKLaboklab(33.18% 0.1125 -0.0457)
OKLCHoklch(33.18% 0.121 337.9)
XYZxyz(5.7194, 3.1479, 6.9616)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A134B #135A22
analogous
#46135A #5A134B #5A1328
triadic
#5A134B #4B5A13 #134B5A
tetradic
#5A134B #5A4613 #135A22 #13285A
square
#5A134B #5A4613 #135A22 #13285A
split-complementary
#5A134B #285A13 #135A46
monochromatic
#190515 #270821 #5A134B #8D1E75 #BF289F

Accessibility & contrast

On white

12.89
#5A134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A134B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A134B#FFFFFF#000000##FFFFFF
##5A134B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4D
Deuteranopia (green-blind)
#2E3649
Tritanopia (blue-blind)
#5F172D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a134b;
/* rgb */ color: rgb(90, 19, 75);
/* oklch */ color: oklch(33.2% 0.121 337.9);
Tailwind
colors: {
  custom: {
    50: '#8b597d',
    500: '#5a134b',
    950: '#000000',
  },
}
SCSS
$custom: #5a134b;
$custom-light: #8b597d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a134b",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 312.676,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33182,
    "c": 0.12145,
    "h": 337.9
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#5A134B
secondary
#37924A
accent
#E86340
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A134B

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

Preview Lab → · Contrast checker → · Palette generator →

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