#A5224C#A5224C

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

Color values

HEX#A5224C
RGBrgb(165, 34, 76)
HSLhsl(341, 66%, 39%)
HSVhsv(341, 79%, 65%)
CMYKcmyk(0%, 79.4%, 53.9%, 35.3%)
CIE-LABlab(37.24, 54.40, 8.78)
CIE-LCHlch(37.24, 55.10, 9.17°)
OKLaboklab(48.06% 0.1658 0.0225)
OKLCHoklch(48.06% 0.167 7.7)
XYZxyz(17.3952, 9.6677, 7.7861)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5224C #22A57B
analogous
#A5228E #A5224C #A53922
triadic
#A5224C #4CA522 #224CA5
tetradic
#A5224C #8EA522 #22A57B #3922A5
square
#A5224C #8EA522 #22A57B #3922A5
split-complementary
#A5224C #22A539 #228EA5
monochromatic
#400D1D #721835 #A5224C #D43065 #DF638A

Accessibility & contrast

On white

7.16
#A5224C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5224C
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5224C#FFFFFF#000000##FFFFFF
##A5224C1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474D
Deuteranopia (green-blind)
#676149
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5224c;
/* rgb */ color: rgb(165, 34, 76);
/* oklch */ color: oklch(48.1% 0.167 7.7);
Tailwind
colors: {
  custom: {
    50: '#c66b7d',
    500: '#a5224c',
    950: '#000000',
  },
}
SCSS
$custom: #a5224c;
$custom-light: #c66b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5224c",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 76
  },
  "hsl": {
    "h": 340.763,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48058,
    "c": 0.16727,
    "h": 7.7
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5224C

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

Preview Lab → · Contrast checker → · Palette generator →

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