#A8227D#A8227D

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

Color values

HEX#A8227D
RGBrgb(168, 34, 125)
HSLhsl(319, 66%, 40%)
HSVhsv(319, 80%, 66%)
CMYKcmyk(0%, 79.8%, 25.6%, 34.1%)
CIE-LABlab(39.50, 60.26, -18.82)
CIE-LCHlch(39.50, 63.13, 342.65°)
OKLaboklab(50.36% 0.1827 -0.0502)
OKLCHoklch(50.36% 0.189 344.6)
XYZxyz(20.4230, 10.9518, 20.4364)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8227D #22A84D
analogous
#9022A8 #A8227D #A8223A
triadic
#A8227D #7DA822 #227DA8
tetradic
#A8227D #A89022 #22A84D #223AA8
square
#A8227D #A89022 #22A84D #223AA8
split-complementary
#A8227D #3AA822 #22A890
monochromatic
#420D31 #751857 #A8227D #D532A1 #E065B8

Accessibility & contrast

On white

6.58
#A8227D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A8227D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8227D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8227D#FFFFFF#000000##FFFFFF
##A8227D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#B4204E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8227d;
/* rgb */ color: rgb(168, 34, 125);
/* oklch */ color: oklch(50.4% 0.189 344.6);
Tailwind
colors: {
  custom: {
    50: '#c66da2',
    500: '#a8227d',
    950: '#000000',
  },
}
SCSS
$custom: #a8227d;
$custom-light: #c66da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8227d",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 319.254,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.18944,
    "h": 344.6
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#A8227D
secondary
#61C581
accent
#E9753F
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8227D

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

Preview Lab → · Contrast checker → · Palette generator →

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