#A5226A#A5226A

#A5226A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.177 H 352.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A5226A
RGBrgb(165, 34, 106)
HSLhsl(327, 66%, 39%)
HSVhsv(327, 79%, 65%)
CMYKcmyk(0%, 79.4%, 35.8%, 35.3%)
CIE-LABlab(38.17, 57.25, -9.00)
CIE-LCHlch(38.17, 57.95, 351.07°)
OKLaboklab(49.05% 0.1758 -0.0232)
OKLCHoklch(49.05% 0.177 352.5)
XYZxyz(18.6918, 10.1863, 14.6147)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5226A #22A55D
analogous
#9F22A5 #A5226A #A52229
triadic
#A5226A #6AA522 #226AA5
tetradic
#A5226A #A59F22 #22A55D #2229A5
square
#A5226A #A59F22 #22A55D #2229A5
split-complementary
#A5226A #29A522 #22A59F
monochromatic
#400D29 #721849 #A5226A #D4308A #DF63A7

Accessibility & contrast

On white

6.92
#A5226A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5226A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5226A#FFFFFF#000000##FFFFFF
##A5226A1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6C
Deuteranopia (green-blind)
#616267
Tritanopia (blue-blind)
#B21343
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5226a;
/* rgb */ color: rgb(165, 34, 106);
/* oklch */ color: oklch(49.0% 0.177 352.5);
Tailwind
colors: {
  custom: {
    50: '#c46c94',
    500: '#a5226a',
    950: '#000000',
  },
}
SCSS
$custom: #a5226a;
$custom-light: #c46c94;
$custom-dark: #000000;
JSON
{
  "hex": "#a5226a",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 327.023,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.1773,
    "h": 352.5
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#A5226A
secondary
#5FC48C
accent
#E98B3F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A5226A

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

Preview Lab → · Contrast checker → · Palette generator →

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