#A5224A#A5224A

#A5224A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.167 H 8.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A5224A
RGBrgb(165, 34, 74)
HSLhsl(342, 66%, 39%)
HSVhsv(342, 79%, 65%)
CMYKcmyk(0%, 79.4%, 55.2%, 35.3%)
CIE-LABlab(37.19, 54.24, 9.99)
CIE-LCHlch(37.19, 55.16, 10.44°)
OKLaboklab(48% 0.165 0.0254)
OKLCHoklch(48% 0.167 8.8)
XYZxyz(17.3268, 9.6403, 7.4256)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5224A #22A57D
analogous
#A5228C #A5224A #A53B22
triadic
#A5224A #4AA522 #224AA5
tetradic
#A5224A #8CA522 #22A57D #3B22A5
square
#A5224A #8CA522 #22A57D #3B22A5
split-complementary
#A5224A #22A53B #228CA5
monochromatic
#400D1C #721833 #A5224A #D43062 #DF6389

Accessibility & contrast

On white

7.17
#A5224A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A5224A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5224A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5224A#FFFFFF#000000##FFFFFF
##A5224A1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474B
Deuteranopia (green-blind)
#676147
Tritanopia (blue-blind)
#B40033
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5224a;
/* rgb */ color: rgb(165, 34, 74);
/* oklch */ color: oklch(48.0% 0.167 8.8);
Tailwind
colors: {
  custom: {
    50: '#c66b7c',
    500: '#a5224a',
    950: '#000000',
  },
}
SCSS
$custom: #a5224a;
$custom-light: #c66b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5224a",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 341.679,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48004,
    "c": 0.16692,
    "h": 8.8
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#A5224A
secondary
#5FC4A5
accent
#E9B53F
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5224A

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

Preview Lab → · Contrast checker → · Palette generator →

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