#A31A53#A31A53

#A31A53 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.174 H 2.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A31A53
RGBrgb(163, 26, 83)
HSLhsl(335, 72%, 37%)
HSVhsv(335, 84%, 64%)
CMYKcmyk(0%, 84%, 49.1%, 36.1%)
CIE-LABlab(36.28, 56.59, 2.84)
CIE-LCHlch(36.28, 56.66, 2.88°)
OKLaboklab(47.34% 0.1737 0.0079)
OKLCHoklch(47.34% 0.174 2.6)
XYZxyz(17.0365, 9.1523, 9.0514)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A31A53 #1AA36A
analogous
#A31A98 #A31A53 #A3251A
triadic
#A31A53 #53A31A #1A53A3
tetradic
#A31A53 #98A31A #1AA36A #251AA3
square
#A31A53 #98A31A #1AA36A #251AA3
split-complementary
#A31A53 #1AA325 #1A98A3
monochromatic
#39091D #6E1238 #A31A53 #D8226E #E45490

Accessibility & contrast

On white

7.42
#A31A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A31A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A31A53
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A31A53#FFFFFF#000000##FFFFFF
##A31A531.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4454
Deuteranopia (green-blind)
#635F50
Tritanopia (blue-blind)
#B20035
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a31a53;
/* rgb */ color: rgb(163, 26, 83);
/* oklch */ color: oklch(47.3% 0.174 2.6);
Tailwind
colors: {
  custom: {
    50: '#c46883',
    500: '#a31a53',
    950: '#000000',
  },
}
SCSS
$custom: #a31a53;
$custom-light: #c46883;
$custom-dark: #000000;
JSON
{
  "hex": "#a31a53",
  "rgb": {
    "r": 163,
    "g": 26,
    "b": 83
  },
  "hsl": {
    "h": 335.036,
    "s": 72.487,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.17393,
    "h": 2.6
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#A31A53
secondary
#52C796
accent
#EFA339
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A31A53

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

Preview Lab → · Contrast checker → · Palette generator →

#A31A53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva