#A8227E#A8227E

#A8227E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.190 H 344.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A8227E
RGBrgb(168, 34, 126)
HSLhsl(319, 66%, 40%)
HSVhsv(319, 80%, 66%)
CMYKcmyk(0%, 79.8%, 25%, 34.1%)
CIE-LABlab(39.54, 60.38, -19.38)
CIE-LCHlch(39.54, 63.42, 342.21°)
OKLaboklab(50.41% 0.1828 -0.0517)
OKLCHoklch(50.41% 0.19 344.2)
XYZxyz(20.4872, 10.9775, 20.7746)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8227E #22A84C
analogous
#8F22A8 #A8227E #A8223B
triadic
#A8227E #7EA822 #227EA8
tetradic
#A8227E #A88F22 #22A84C #223BA8
square
#A8227E #A88F22 #22A84C #223BA8
split-complementary
#A8227E #3BA822 #22A88F
monochromatic
#420D32 #751858 #A8227E #D532A2 #E065B9

Accessibility & contrast

On white

6.57
#A8227E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A8227E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8227E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8227E#FFFFFF#000000##FFFFFF
##A8227E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#B3214E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8227e;
/* rgb */ color: rgb(168, 34, 126);
/* oklch */ color: oklch(50.4% 0.190 344.2);
Tailwind
colors: {
  custom: {
    50: '#c66da3',
    500: '#a8227e',
    950: '#000000',
  },
}
SCSS
$custom: #a8227e;
$custom-light: #c66da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8227e",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 318.806,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.19002,
    "h": 344.2
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#A8227E
secondary
#61C580
accent
#E9743F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8227E

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

Preview Lab → · Contrast checker → · Palette generator →

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