#A8226A#A8226A

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

Color values

HEX#A8226A
RGBrgb(168, 34, 106)
HSLhsl(328, 66%, 40%)
HSVhsv(328, 80%, 66%)
CMYKcmyk(0%, 79.8%, 36.9%, 34.1%)
CIE-LABlab(38.75, 58.03, -8.08)
CIE-LCHlch(38.75, 58.59, 352.07°)
OKLaboklab(49.57% 0.1783 -0.0207)
OKLCHoklch(49.57% 0.18 353.4)
XYZxyz(19.3233, 10.5119, 14.6443)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8226A #22A860
analogous
#A322A8 #A8226A #A82227
triadic
#A8226A #6AA822 #226AA8
tetradic
#A8226A #A8A322 #22A860 #2227A8
square
#A8226A #A8A322 #22A860 #2227A8
split-complementary
#A8226A #27A822 #22A8A3
monochromatic
#420D2A #75184A #A8226A #D5328A #E065A7

Accessibility & contrast

On white

6.77
#A8226A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8226A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8226A#FFFFFF#000000##FFFFFF
##A8226A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6C
Deuteranopia (green-blind)
#636467
Tritanopia (blue-blind)
#B51143
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a8226a;
/* rgb */ color: rgb(168, 34, 106);
/* oklch */ color: oklch(49.6% 0.179 353.4);
Tailwind
colors: {
  custom: {
    50: '#c76c94',
    500: '#a8226a',
    950: '#000000',
  },
}
SCSS
$custom: #a8226a;
$custom-light: #c76c94;
$custom-dark: #000000;
JSON
{
  "hex": "#a8226a",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 327.761,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.1795,
    "h": 353.4
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#A8226A
secondary
#61C58F
accent
#E98E3F
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A8226A

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

Preview Lab → · Contrast checker → · Palette generator →

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