#A8226B#A8226B

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

Color values

HEX#A8226B
RGBrgb(168, 34, 107)
HSLhsl(327, 66%, 40%)
HSVhsv(327, 80%, 66%)
CMYKcmyk(0%, 79.8%, 36.3%, 34.1%)
CIE-LABlab(38.78, 58.14, -8.66)
CIE-LCHlch(38.78, 58.78, 351.53°)
OKLaboklab(49.61% 0.1786 -0.0222)
OKLCHoklch(49.61% 0.18 352.9)
XYZxyz(19.3756, 10.5328, 14.9198)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8226B #22A85F
analogous
#A222A8 #A8226B #A82228
triadic
#A8226B #6BA822 #226BA8
tetradic
#A8226B #A8A222 #22A85F #2228A8
square
#A8226B #A8A222 #22A85F #2228A8
split-complementary
#A8226B #28A822 #22A8A2
monochromatic
#420D2A #75184B #A8226B #D5328B #E065A8

Accessibility & contrast

On white

6.76
#A8226B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8226B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8226B#FFFFFF#000000##FFFFFF
##A8226B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6D
Deuteranopia (green-blind)
#636468
Tritanopia (blue-blind)
#B51244
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a8226b;
/* rgb */ color: rgb(168, 34, 107);
/* oklch */ color: oklch(49.6% 0.180 352.9);
Tailwind
colors: {
  custom: {
    50: '#c76c95',
    500: '#a8226b',
    950: '#000000',
  },
}
SCSS
$custom: #a8226b;
$custom-light: #c76c95;
$custom-dark: #000000;
JSON
{
  "hex": "#a8226b",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 327.313,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.17996,
    "h": 352.9
  },
  "luminance": 0.1053
}

Semantic roles & 50–950 ramp

primary
#A8226B
secondary
#61C58E
accent
#E98C3F
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A8226B

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

Preview Lab → · Contrast checker → · Palette generator →

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