#A7226E#A7226E

#A7226E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.181 H 351.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A7226E
RGBrgb(167, 34, 110)
HSLhsl(326, 66%, 39%)
HSVhsv(326, 80%, 65%)
CMYKcmyk(0%, 79.6%, 34.1%, 34.5%)
CIE-LABlab(38.70, 58.21, -10.68)
CIE-LCHlch(38.70, 59.19, 349.60°)
OKLaboklab(49.55% 0.1785 -0.0277)
OKLCHoklch(49.55% 0.181 351.2)
XYZxyz(19.3240, 10.4877, 15.7555)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7226E #22A75B
analogous
#9E22A7 #A7226E #A7222C
triadic
#A7226E #6EA722 #226EA7
tetradic
#A7226E #A79E22 #22A75B #222CA7
square
#A7226E #A79E22 #22A75B #222CA7
split-complementary
#A7226E #2CA722 #22A79E
monochromatic
#410D2B #74184D #A7226E #D5318F #DF64AB

Accessibility & contrast

On white

6.78
#A7226E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A7226E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7226E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7226E#FFFFFF#000000##FFFFFF
##A7226E1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4C70
Deuteranopia (green-blind)
#61646B
Tritanopia (blue-blind)
#B41545
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7226e;
/* rgb */ color: rgb(167, 34, 110);
/* oklch */ color: oklch(49.6% 0.181 351.2);
Tailwind
colors: {
  custom: {
    50: '#c66c97',
    500: '#a7226e',
    950: '#000000',
  },
}
SCSS
$custom: #a7226e;
$custom-light: #c66c97;
$custom-dark: #000000;
JSON
{
  "hex": "#a7226e",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 325.714,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.18067,
    "h": 351.2
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#A7226E
secondary
#60C58B
accent
#E9883F
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A7226E

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

Preview Lab → · Contrast checker → · Palette generator →

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