#A5224F#A5224F

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

Color values

HEX#A5224F
RGBrgb(165, 34, 79)
HSLhsl(339, 66%, 39%)
HSVhsv(339, 79%, 65%)
CMYKcmyk(0%, 79.4%, 52.1%, 35.3%)
CIE-LABlab(37.32, 54.64, 6.96)
CIE-LCHlch(37.32, 55.08, 7.26°)
OKLaboklab(48.14% 0.1669 0.0181)
OKLCHoklch(48.14% 0.168 6.2)
XYZxyz(17.5020, 9.7104, 8.3483)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5224F #22A578
analogous
#A52291 #A5224F #A53622
triadic
#A5224F #4FA522 #224FA5
tetradic
#A5224F #91A522 #22A578 #3622A5
square
#A5224F #91A522 #22A578 #3622A5
split-complementary
#A5224F #22A536 #2291A5
monochromatic
#400D1E #721837 #A5224F #D43068 #DF638D

Accessibility & contrast

On white

7.14
#A5224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5224F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5224F#FFFFFF#000000##FFFFFF
##A5224F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#66614C
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5224f;
/* rgb */ color: rgb(165, 34, 79);
/* oklch */ color: oklch(48.1% 0.168 6.2);
Tailwind
colors: {
  custom: {
    50: '#c66b80',
    500: '#a5224f',
    950: '#000000',
  },
}
SCSS
$custom: #a5224f;
$custom-light: #c66b80;
$custom-dark: #000000;
JSON
{
  "hex": "#a5224f",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 339.389,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48141,
    "c": 0.16787,
    "h": 6.2
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#A5224F
secondary
#5FC4A1
accent
#E9AE3F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A5224F

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

Preview Lab → · Contrast checker → · Palette generator →

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