#A7226B#A7226B

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

Color values

HEX#A7226B
RGBrgb(167, 34, 107)
HSLhsl(327, 66%, 39%)
HSVhsv(327, 80%, 65%)
CMYKcmyk(0%, 79.6%, 35.9%, 34.5%)
CIE-LABlab(38.59, 57.88, -8.96)
CIE-LCHlch(38.59, 58.57, 351.20°)
OKLaboklab(49.43% 0.1777 -0.023)
OKLCHoklch(49.43% 0.179 352.6)
XYZxyz(19.1634, 10.4235, 14.9098)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7226B #22A75E
analogous
#A122A7 #A7226B #A72228
triadic
#A7226B #6BA722 #226BA7
tetradic
#A7226B #A7A122 #22A75E #2228A7
square
#A7226B #A7A122 #22A75E #2228A7
split-complementary
#A7226B #28A722 #22A7A1
monochromatic
#410D2A #74184A #A7226B #D5318B #DF64A8

Accessibility & contrast

On white

6.81
#A7226B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7226B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7226B#FFFFFF#000000##FFFFFF
##A7226B1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7226b;
/* rgb */ color: rgb(167, 34, 107);
/* oklch */ color: oklch(49.4% 0.179 352.6);
Tailwind
colors: {
  custom: {
    50: '#c66c95',
    500: '#a7226b',
    950: '#000000',
  },
}
SCSS
$custom: #a7226b;
$custom-light: #c66c95;
$custom-dark: #000000;
JSON
{
  "hex": "#a7226b",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 327.068,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.17923,
    "h": 352.6
  },
  "luminance": 0.10421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7226B

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

Preview Lab → · Contrast checker → · Palette generator →

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