#A5224E#A5224E

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

Color values

HEX#A5224E
RGBrgb(165, 34, 78)
HSLhsl(340, 66%, 39%)
HSVhsv(340, 79%, 65%)
CMYKcmyk(0%, 79.4%, 52.7%, 35.3%)
CIE-LABlab(37.29, 54.56, 7.57)
CIE-LCHlch(37.29, 55.08, 7.89°)
OKLaboklab(48.11% 0.1665 0.0196)
OKLCHoklch(48.11% 0.168 6.7)
XYZxyz(17.4658, 9.6959, 8.1581)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5224E #22A579
analogous
#A52290 #A5224E #A53722
triadic
#A5224E #4EA522 #224EA5
tetradic
#A5224E #90A522 #22A579 #3722A5
square
#A5224E #90A522 #22A579 #3722A5
split-complementary
#A5224E #22A537 #2290A5
monochromatic
#400D1E #721836 #A5224E #D43067 #DF638C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5224E#FFFFFF#000000##FFFFFF
##A5224E1.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)
#44474F
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#B40035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5224e;
/* rgb */ color: rgb(165, 34, 78);
/* oklch */ color: oklch(48.1% 0.168 6.7);
Tailwind
colors: {
  custom: {
    50: '#c66b7f',
    500: '#a5224e',
    950: '#000000',
  },
}
SCSS
$custom: #a5224e;
$custom-light: #c66b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5224e",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 339.847,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48113,
    "c": 0.16767,
    "h": 6.7
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#A5224E
secondary
#5FC4A2
accent
#E9B03F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A5224E

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

Preview Lab → · Contrast checker → · Palette generator →

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