#A2224C#A2224C

#A2224C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.165 H 7.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A2224C
RGBrgb(162, 34, 76)
HSLhsl(340, 65%, 38%)
HSVhsv(340, 79%, 64%)
CMYKcmyk(0%, 79%, 53.1%, 36.5%)
CIE-LABlab(36.65, 53.55, 7.86)
CIE-LCHlch(36.65, 54.12, 8.35°)
OKLaboklab(47.52% 0.1633 0.0203)
OKLCHoklch(47.52% 0.165 7.1)
XYZxyz(16.7784, 9.3496, 7.7572)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2224C #22A278
analogous
#A2228C #A2224C #A23822
triadic
#A2224C #4CA222 #224CA2
tetradic
#A2224C #8CA222 #22A278 #3822A2
square
#A2224C #8CA222 #22A278 #3822A2
split-complementary
#A2224C #22A238 #228CA2
monochromatic
#3D0D1D #6F1734 #A2224C #D32E64 #DE618A

Accessibility & contrast

On white

7.32
#A2224C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A2224C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A2224C
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2224C#FFFFFF#000000##FFFFFF
##A2224C1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44464D
Deuteranopia (green-blind)
#655F49
Tritanopia (blue-blind)
#B10034
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a2224c;
/* rgb */ color: rgb(162, 34, 76);
/* oklch */ color: oklch(47.5% 0.165 7.1);
Tailwind
colors: {
  custom: {
    50: '#c46a7d',
    500: '#a2224c',
    950: '#000000',
  },
}
SCSS
$custom: #a2224c;
$custom-light: #c46a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2224c",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 76
  },
  "hsl": {
    "h": 340.313,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.16458,
    "h": 7.1
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#A2224C
secondary
#5DC3A1
accent
#E8B140
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A2224C

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

Preview Lab → · Contrast checker → · Palette generator →

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