#A8226D#A8226D

#A8226D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.181 H 352.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A8226D
RGBrgb(168, 34, 109)
HSLhsl(326, 66%, 40%)
HSVhsv(326, 80%, 66%)
CMYKcmyk(0%, 79.8%, 35.1%, 34.1%)
CIE-LABlab(38.86, 58.36, -9.81)
CIE-LCHlch(38.86, 59.18, 350.46°)
OKLaboklab(49.69% 0.1791 -0.0253)
OKLCHoklch(49.69% 0.181 352)
XYZxyz(19.4820, 10.5754, 15.4804)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8226D #22A85D
analogous
#A022A8 #A8226D #A8222A
triadic
#A8226D #6DA822 #226DA8
tetradic
#A8226D #A8A022 #22A85D #222AA8
square
#A8226D #A8A022 #22A85D #222AA8
split-complementary
#A8226D #2AA822 #22A8A0
monochromatic
#420D2B #75184C #A8226D #D5328D #E065AA

Accessibility & contrast

On white

6.74
#A8226D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A8226D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8226D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8226D#FFFFFF#000000##FFFFFF
##A8226D1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8226d;
/* rgb */ color: rgb(168, 34, 109);
/* oklch */ color: oklch(49.7% 0.181 352.0);
Tailwind
colors: {
  custom: {
    50: '#c76c96',
    500: '#a8226d',
    950: '#000000',
  },
}
SCSS
$custom: #a8226d;
$custom-light: #c76c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a8226d",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 326.418,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.1809,
    "h": 352
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#A8226D
secondary
#61C58D
accent
#E98A3F
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A8226D

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

Preview Lab → · Contrast checker → · Palette generator →

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