#A5224D#A5224D

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

Color values

HEX#A5224D
RGBrgb(165, 34, 77)
HSLhsl(340, 66%, 39%)
HSVhsv(340, 79%, 65%)
CMYKcmyk(0%, 79.4%, 53.3%, 35.3%)
CIE-LABlab(37.27, 54.48, 8.17)
CIE-LCHlch(37.27, 55.09, 8.53°)
OKLaboklab(48.09% 0.1661 0.0211)
OKLCHoklch(48.09% 0.167 7.2)
XYZxyz(17.4303, 9.6817, 7.9707)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5224D #22A57A
analogous
#A5228F #A5224D #A53822
triadic
#A5224D #4DA522 #224DA5
tetradic
#A5224D #8FA522 #22A57A #3822A5
square
#A5224D #8FA522 #22A57A #3822A5
split-complementary
#A5224D #22A538 #228FA5
monochromatic
#400D1E #721835 #A5224D #D43066 #DF638B

Accessibility & contrast

On white

7.15
#A5224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A5224D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5224D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5224D#FFFFFF#000000##FFFFFF
##A5224D1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474E
Deuteranopia (green-blind)
#67614A
Tritanopia (blue-blind)
#B40035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5224d;
/* rgb */ color: rgb(165, 34, 77);
/* oklch */ color: oklch(48.1% 0.167 7.2);
Tailwind
colors: {
  custom: {
    50: '#c66b7e',
    500: '#a5224d',
    950: '#000000',
  },
}
SCSS
$custom: #a5224d;
$custom-light: #c66b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5224d",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 340.305,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48085,
    "c": 0.16746,
    "h": 7.2
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#A5224D
secondary
#5FC4A3
accent
#E9B13F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A5224D

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

Preview Lab → · Contrast checker → · Palette generator →

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