#A5226C#A5226C

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

Color values

HEX#A5226C
RGBrgb(165, 34, 108)
HSLhsl(326, 66%, 39%)
HSVhsv(326, 79%, 65%)
CMYKcmyk(0%, 79.4%, 34.5%, 35.3%)
CIE-LABlab(38.25, 57.48, -10.15)
CIE-LCHlch(38.25, 58.36, 349.99°)
OKLaboklab(49.13% 0.1763 -0.0263)
OKLCHoklch(49.13% 0.178 351.5)
XYZxyz(18.7970, 10.2284, 15.1689)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5226C #22A55B
analogous
#9D22A5 #A5226C #A5222B
triadic
#A5226C #6CA522 #226CA5
tetradic
#A5226C #A59D22 #22A55B #222BA5
square
#A5226C #A59D22 #22A55B #222BA5
split-complementary
#A5226C #2BA522 #22A59D
monochromatic
#400D2A #72184B #A5226C #D4308D #DF63A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5226C#FFFFFF#000000##FFFFFF
##A5226C1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#606269
Tritanopia (blue-blind)
#B21544
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5226c;
/* rgb */ color: rgb(165, 34, 108);
/* oklch */ color: oklch(49.1% 0.178 351.5);
Tailwind
colors: {
  custom: {
    50: '#c46c96',
    500: '#a5226c',
    950: '#000000',
  },
}
SCSS
$custom: #a5226c;
$custom-light: #c46c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a5226c",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 326.107,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.17826,
    "h": 351.5
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#A5226C
secondary
#5FC48B
accent
#E9893F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A5226C

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

Preview Lab → · Contrast checker → · Palette generator →

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