#A5226F#A5226F

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

Color values

HEX#A5226F
RGBrgb(165, 34, 111)
HSLhsl(325, 66%, 39%)
HSVhsv(325, 79%, 65%)
CMYKcmyk(0%, 79.4%, 32.7%, 35.3%)
CIE-LABlab(38.36, 57.82, -11.86)
CIE-LCHlch(38.36, 59.02, 348.41°)
OKLaboklab(49.25% 0.1771 -0.0309)
OKLCHoklch(49.25% 0.18 350.1)
XYZxyz(18.9594, 10.2934, 16.0242)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5226F #22A558
analogous
#9A22A5 #A5226F #A5222E
triadic
#A5226F #6FA522 #226FA5
tetradic
#A5226F #A59A22 #22A558 #222EA5
square
#A5226F #A59A22 #22A558 #222EA5
split-complementary
#A5226F #2EA522 #22A59A
monochromatic
#400D2B #72184D #A5226F #D43091 #DF63AC

Accessibility & contrast

On white

6.87
#A5226F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A5226F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5226F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5226F#FFFFFF#000000##FFFFFF
##A5226F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C71
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#B21846
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5226f;
/* rgb */ color: rgb(165, 34, 111);
/* oklch */ color: oklch(49.2% 0.180 350.1);
Tailwind
colors: {
  custom: {
    50: '#c46c98',
    500: '#a5226f',
    950: '#000000',
  },
}
SCSS
$custom: #a5226f;
$custom-light: #c46c98;
$custom-dark: #000000;
JSON
{
  "hex": "#a5226f",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 324.733,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.17974,
    "h": 350.1
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5226F

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

Preview Lab → · Contrast checker → · Palette generator →

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