#A7226A#A7226A

#A7226A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.179 H 353.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A7226A
RGBrgb(167, 34, 106)
HSLhsl(328, 66%, 39%)
HSVhsv(328, 80%, 65%)
CMYKcmyk(0%, 79.6%, 36.5%, 34.5%)
CIE-LABlab(38.56, 57.77, -8.39)
CIE-LCHlch(38.56, 58.38, 351.74°)
OKLaboklab(49.4% 0.1775 -0.0215)
OKLCHoklch(49.4% 0.179 353.1)
XYZxyz(19.1111, 10.4025, 14.6344)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7226A #22A75F
analogous
#A222A7 #A7226A #A72227
triadic
#A7226A #6AA722 #226AA7
tetradic
#A7226A #A7A222 #22A75F #2227A7
square
#A7226A #A7A222 #22A75F #2227A7
split-complementary
#A7226A #27A722 #22A7A2
monochromatic
#410D29 #74184A #A7226A #D5318A #DF64A7

Accessibility & contrast

On white

6.82
#A7226A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A7226A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7226A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7226A#FFFFFF#000000##FFFFFF
##A7226A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4B6C
Deuteranopia (green-blind)
#626367
Tritanopia (blue-blind)
#B41243
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7226a;
/* rgb */ color: rgb(167, 34, 106);
/* oklch */ color: oklch(49.4% 0.179 353.1);
Tailwind
colors: {
  custom: {
    50: '#c66c94',
    500: '#a7226a',
    950: '#000000',
  },
}
SCSS
$custom: #a7226a;
$custom-light: #c66c94;
$custom-dark: #000000;
JSON
{
  "hex": "#a7226a",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 327.519,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.17877,
    "h": 353.1
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#A7226A
secondary
#60C58E
accent
#E98D3F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A7226A

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

Preview Lab → · Contrast checker → · Palette generator →

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