#A5225A#A5225A

#A5225A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.171 H 0.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A5225A
RGBrgb(165, 34, 90)
HSLhsl(334, 66%, 39%)
HSVhsv(334, 79%, 65%)
CMYKcmyk(0%, 79.4%, 45.5%, 35.3%)
CIE-LABlab(37.63, 55.61, 0.37)
CIE-LCHlch(37.63, 55.61, 0.38°)
OKLaboklab(48.48% 0.1709 0.0016)
OKLCHoklch(48.48% 0.171 0.5)
XYZxyz(17.9360, 9.8840, 10.6342)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5225A #22A56D
analogous
#A5229C #A5225A #A52C22
triadic
#A5225A #5AA522 #225AA5
tetradic
#A5225A #9CA522 #22A56D #2C22A5
square
#A5225A #9CA522 #22A56D #2C22A5
split-complementary
#A5225A #22A52C #229CA5
monochromatic
#400D23 #72183E #A5225A #D43076 #DF6398

Accessibility & contrast

On white

7.06
#A5225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A5225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5225A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5225A#FFFFFF#000000##FFFFFF
##A5225A1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495B
Deuteranopia (green-blind)
#646257
Tritanopia (blue-blind)
#B3023B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5225a;
/* rgb */ color: rgb(165, 34, 90);
/* oklch */ color: oklch(48.5% 0.171 0.5);
Tailwind
colors: {
  custom: {
    50: '#c56b88',
    500: '#a5225a',
    950: '#000000',
  },
}
SCSS
$custom: #a5225a;
$custom-light: #c56b88;
$custom-dark: #000000;
JSON
{
  "hex": "#a5225a",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 334.351,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48476,
    "c": 0.17087,
    "h": 0.5
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

primary
#A5225A
secondary
#5FC499
accent
#E9A03F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5225A

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

Preview Lab → · Contrast checker → · Palette generator →

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