#A5226B#A5226B

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

Color values

HEX#A5226B
RGBrgb(165, 34, 107)
HSLhsl(327, 66%, 39%)
HSVhsv(327, 79%, 65%)
CMYKcmyk(0%, 79.4%, 35.2%, 35.3%)
CIE-LABlab(38.21, 57.36, -9.57)
CIE-LCHlch(38.21, 58.16, 350.53°)
OKLaboklab(49.09% 0.176 -0.0247)
OKLCHoklch(49.09% 0.178 352)
XYZxyz(18.7441, 10.2072, 14.8902)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5226B #22A55C
analogous
#9E22A5 #A5226B #A5222A
triadic
#A5226B #6BA522 #226BA5
tetradic
#A5226B #A59E22 #22A55C #222AA5
square
#A5226B #A59E22 #22A55C #222AA5
split-complementary
#A5226B #2AA522 #22A59E
monochromatic
#400D29 #72184A #A5226B #D4308C #DF63A8

Accessibility & contrast

On white

6.91
#A5226B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5226B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5226B#FFFFFF#000000##FFFFFF
##A5226B1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6D
Deuteranopia (green-blind)
#616268
Tritanopia (blue-blind)
#B21444
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5226b;
/* rgb */ color: rgb(165, 34, 107);
/* oklch */ color: oklch(49.1% 0.178 352.0);
Tailwind
colors: {
  custom: {
    50: '#c46c95',
    500: '#a5226b',
    950: '#000000',
  },
}
SCSS
$custom: #a5226b;
$custom-light: #c46c95;
$custom-dark: #000000;
JSON
{
  "hex": "#a5226b",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 326.565,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49088,
    "c": 0.17777,
    "h": 352
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#A5226B
secondary
#5FC48C
accent
#E98A3F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A5226B

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

Preview Lab → · Contrast checker → · Palette generator →

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