#A5216F#A5216F

#A5216F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.181 H 350.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A5216F
RGBrgb(165, 33, 111)
HSLhsl(325, 67%, 39%)
HSVhsv(325, 80%, 65%)
CMYKcmyk(0%, 80%, 32.7%, 35.3%)
CIE-LABlab(38.26, 58.10, -12.01)
CIE-LCHlch(38.26, 59.33, 348.32°)
OKLaboklab(49.18% 0.178 -0.0314)
OKLCHoklch(49.18% 0.181 350)
XYZxyz(18.9312, 10.2370, 16.0148)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5216F #21A557
analogous
#9921A5 #A5216F #A5212D
triadic
#A5216F #6FA521 #216FA5
tetradic
#A5216F #A59921 #21A557 #212DA5
square
#A5216F #A59921 #21A557 #212DA5
split-complementary
#A5216F #2DA521 #21A599
monochromatic
#3F0D2A #72174D #A5216F #D52E91 #DF61AC

Accessibility & contrast

On white

6.89
#A5216F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A5216F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5216F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5216F#FFFFFF#000000##FFFFFF
##A5216F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#5F626C
Tritanopia (blue-blind)
#B21646
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5216f;
/* rgb */ color: rgb(165, 33, 111);
/* oklch */ color: oklch(49.2% 0.181 350.0);
Tailwind
colors: {
  custom: {
    50: '#c46c98',
    500: '#a5216f',
    950: '#000000',
  },
}
SCSS
$custom: #a5216f;
$custom-light: #c46c98;
$custom-dark: #000000;
JSON
{
  "hex": "#a5216f",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 324.545,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.1807,
    "h": 350
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#A5216F
secondary
#5EC488
accent
#EA843E
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A5216F

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

Preview Lab → · Contrast checker → · Palette generator →

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