#A4227D#A4227D

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

Color values

HEX#A4227D
RGBrgb(164, 34, 125)
HSLhsl(318, 66%, 39%)
HSVhsv(318, 79%, 64%)
CMYKcmyk(0%, 79.3%, 23.8%, 35.7%)
CIE-LABlab(38.76, 59.29, -20.02)
CIE-LCHlch(38.76, 62.58, 341.34°)
OKLaboklab(49.69% 0.1791 -0.0536)
OKLCHoklch(49.69% 0.187 343.3)
XYZxyz(19.5843, 10.5194, 20.3971)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4227D #22A449
analogous
#8A22A4 #A4227D #A4223C
triadic
#A4227D #7DA422 #227DA4
tetradic
#A4227D #A48A22 #22A449 #223CA4
square
#A4227D #A48A22 #22A449 #223CA4
split-complementary
#A4227D #3CA422 #22A48A
monochromatic
#3F0D30 #711756 #A4227D #D42FA3 #DE62B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4227D#FFFFFF#000000##FFFFFF
##A4227D1.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)
#324E7F
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#AF224D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a4227d;
/* rgb */ color: rgb(164, 34, 125);
/* oklch */ color: oklch(49.7% 0.187 343.3);
Tailwind
colors: {
  custom: {
    50: '#c36ca3',
    500: '#a4227d',
    950: '#000000',
  },
}
SCSS
$custom: #a4227d;
$custom-light: #c36ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a4227d",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 318,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4969,
    "c": 0.18691,
    "h": 343.3
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#A4227D
secondary
#5EC47D
accent
#E9723F
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A4227D

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

Preview Lab → · Contrast checker → · Palette generator →

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