#A7226C#A7226C

#A7226C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.180 H 352.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A7226C
RGBrgb(167, 34, 108)
HSLhsl(327, 66%, 39%)
HSVhsv(327, 80%, 65%)
CMYKcmyk(0%, 79.6%, 35.3%, 34.5%)
CIE-LABlab(38.63, 57.99, -9.54)
CIE-LCHlch(38.63, 58.77, 350.66°)
OKLaboklab(49.47% 0.178 -0.0246)
OKLCHoklch(49.47% 0.18 352.1)
XYZxyz(19.2164, 10.4446, 15.1885)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7226C #22A75D
analogous
#A022A7 #A7226C #A72229
triadic
#A7226C #6CA722 #226CA7
tetradic
#A7226C #A7A022 #22A75D #2229A7
square
#A7226C #A7A022 #22A75D #2229A7
split-complementary
#A7226C #29A722 #22A7A0
monochromatic
#410D2A #74184B #A7226C #D5318C #DF64A9

Accessibility & contrast

On white

6.80
#A7226C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A7226C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7226C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7226C#FFFFFF#000000##FFFFFF
##A7226C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B41344
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7226c;
/* rgb */ color: rgb(167, 34, 108);
/* oklch */ color: oklch(49.5% 0.180 352.1);
Tailwind
colors: {
  custom: {
    50: '#c66c96',
    500: '#a7226c',
    950: '#000000',
  },
}
SCSS
$custom: #a7226c;
$custom-light: #c66c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7226c",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 326.617,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49473,
    "c": 0.1797,
    "h": 352.1
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#A7226C
secondary
#60C58D
accent
#E98A3F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A7226C

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

Preview Lab → · Contrast checker → · Palette generator →

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