#A5216E#A5216E

#A5216E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.180 H 350.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A5216E
RGBrgb(165, 33, 110)
HSLhsl(325, 67%, 39%)
HSVhsv(325, 80%, 65%)
CMYKcmyk(0%, 80%, 33.3%, 35.3%)
CIE-LABlab(38.23, 57.99, -11.44)
CIE-LCHlch(38.23, 59.11, 348.84°)
OKLaboklab(49.14% 0.1777 -0.0298)
OKLCHoklch(49.14% 0.18 350.5)
XYZxyz(18.8765, 10.2151, 15.7265)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5216E #21A558
analogous
#9A21A5 #A5216E #A5212C
triadic
#A5216E #6EA521 #216EA5
tetradic
#A5216E #A59A21 #21A558 #212CA5
square
#A5216E #A59A21 #21A558 #212CA5
split-complementary
#A5216E #2CA521 #21A59A
monochromatic
#3F0D2A #72174C #A5216E #D52E90 #DF61AB

Accessibility & contrast

On white

6.90
#A5216E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A5216E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5216E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5216E#FFFFFF#000000##FFFFFF
##A5216E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#60626B
Tritanopia (blue-blind)
#B21545
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5216e;
/* rgb */ color: rgb(165, 33, 110);
/* oklch */ color: oklch(49.1% 0.180 350.5);
Tailwind
colors: {
  custom: {
    50: '#c46c97',
    500: '#a5216e',
    950: '#000000',
  },
}
SCSS
$custom: #a5216e;
$custom-light: #c46c97;
$custom-dark: #000000;
JSON
{
  "hex": "#a5216e",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 325,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49135,
    "c": 0.18019,
    "h": 350.5
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5216E

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

Preview Lab → · Contrast checker → · Palette generator →

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