#A5224B#A5224B

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

Color values

HEX#A5224B
RGBrgb(165, 34, 75)
HSLhsl(341, 66%, 39%)
HSVhsv(341, 79%, 65%)
CMYKcmyk(0%, 79.4%, 54.5%, 35.3%)
CIE-LABlab(37.21, 54.32, 9.38)
CIE-LCHlch(37.21, 55.13, 9.80°)
OKLaboklab(48.03% 0.1654 0.024)
OKLCHoklch(48.03% 0.167 8.2)
XYZxyz(17.3607, 9.6539, 7.6045)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5224B #22A57C
analogous
#A5228D #A5224B #A53A22
triadic
#A5224B #4BA522 #224BA5
tetradic
#A5224B #8DA522 #22A57C #3A22A5
square
#A5224B #8DA522 #22A57C #3A22A5
split-complementary
#A5224B #22A53A #228DA5
monochromatic
#400D1D #721834 #A5224B #D43063 #DF6389

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5224B#FFFFFF#000000##FFFFFF
##A5224B1.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)
#45474C
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5224b;
/* rgb */ color: rgb(165, 34, 75);
/* oklch */ color: oklch(48.0% 0.167 8.2);
Tailwind
colors: {
  custom: {
    50: '#c66b7d',
    500: '#a5224b',
    950: '#000000',
  },
}
SCSS
$custom: #a5224b;
$custom-light: #c66b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5224b",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 341.221,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.16709,
    "h": 8.2
  },
  "luminance": 0.09651
}

Semantic roles & 50–950 ramp

primary
#A5224B
secondary
#5FC4A4
accent
#E9B43F
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5224B

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

Preview Lab → · Contrast checker → · Palette generator →

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