#A7226D#A7226D

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

Color values

HEX#A7226D
RGBrgb(167, 34, 109)
HSLhsl(326, 66%, 39%)
HSVhsv(326, 80%, 65%)
CMYKcmyk(0%, 79.6%, 34.7%, 34.5%)
CIE-LABlab(38.67, 58.10, -10.11)
CIE-LCHlch(38.67, 58.97, 350.13°)
OKLaboklab(49.51% 0.1783 -0.0262)
OKLCHoklch(49.51% 0.18 351.7)
XYZxyz(19.2699, 10.4660, 15.4704)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7226D #22A75C
analogous
#9E22A7 #A7226D #A7222B
triadic
#A7226D #6DA722 #226DA7
tetradic
#A7226D #A79E22 #22A75C #222BA7
square
#A7226D #A79E22 #22A75C #222BA7
split-complementary
#A7226D #2BA722 #22A79E
monochromatic
#410D2B #74184C #A7226D #D5318E #DF64AA

Accessibility & contrast

On white

6.79
#A7226D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7226D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7226D#FFFFFF#000000##FFFFFF
##A7226D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4C6F
Deuteranopia (green-blind)
#62646A
Tritanopia (blue-blind)
#B41445
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7226d;
/* rgb */ color: rgb(167, 34, 109);
/* oklch */ color: oklch(49.5% 0.180 351.7);
Tailwind
colors: {
  custom: {
    50: '#c66c96',
    500: '#a7226d',
    950: '#000000',
  },
}
SCSS
$custom: #a7226d;
$custom-light: #c66c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7226d",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 326.165,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.18018,
    "h": 351.7
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#A7226D
secondary
#60C58C
accent
#E9893F
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A7226D

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

Preview Lab → · Contrast checker → · Palette generator →

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