#A5226E#A5226E

#A5226E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.179 H 350.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A5226E
RGBrgb(165, 34, 110)
HSLhsl(325, 66%, 39%)
HSVhsv(325, 79%, 65%)
CMYKcmyk(0%, 79.4%, 33.3%, 35.3%)
CIE-LABlab(38.33, 57.70, -11.29)
CIE-LCHlch(38.33, 58.80, 348.93°)
OKLaboklab(49.21% 0.1768 -0.0294)
OKLCHoklch(49.21% 0.179 350.6)
XYZxyz(18.9047, 10.2715, 15.7359)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5226E #22A559
analogous
#9B22A5 #A5226E #A5222D
triadic
#A5226E #6EA522 #226EA5
tetradic
#A5226E #A59B22 #22A559 #222DA5
square
#A5226E #A59B22 #22A559 #222DA5
split-complementary
#A5226E #2DA522 #22A59B
monochromatic
#400D2A #72184C #A5226E #D4308F #DF63AB

Accessibility & contrast

On white

6.88
#A5226E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5226E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5226E#FFFFFF#000000##FFFFFF
##A5226E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B70
Deuteranopia (green-blind)
#60636B
Tritanopia (blue-blind)
#B21745
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5226e;
/* rgb */ color: rgb(165, 34, 110);
/* oklch */ color: oklch(49.2% 0.179 350.6);
Tailwind
colors: {
  custom: {
    50: '#c46c97',
    500: '#a5226e',
    950: '#000000',
  },
}
SCSS
$custom: #a5226e;
$custom-light: #c46c97;
$custom-dark: #000000;
JSON
{
  "hex": "#a5226e",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 325.191,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49207,
    "c": 0.17925,
    "h": 350.6
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#A5226E
secondary
#5FC489
accent
#E9863F
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A5226E

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

Preview Lab → · Contrast checker → · Palette generator →

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