#A5225B#A5225B

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

Color values

HEX#A5225B
RGBrgb(165, 34, 91)
HSLhsl(334, 66%, 39%)
HSVhsv(334, 79%, 65%)
CMYKcmyk(0%, 79.4%, 44.8%, 35.3%)
CIE-LABlab(37.66, 55.71, -0.23)
CIE-LCHlch(37.66, 55.71, 359.77°)
OKLaboklab(48.51% 0.1712 0)
OKLCHoklch(48.51% 0.171 0)
XYZxyz(17.9788, 9.9011, 10.8599)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5225B #22A56C
analogous
#A5229D #A5225B #A52B22
triadic
#A5225B #5BA522 #225BA5
tetradic
#A5225B #9DA522 #22A56C #2B22A5
square
#A5225B #9DA522 #22A56C #2B22A5
split-complementary
#A5225B #22A52B #229DA5
monochromatic
#400D23 #72183F #A5225B #D43077 #DF6399

Accessibility & contrast

On white

7.05
#A5225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5225B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5225B#FFFFFF#000000##FFFFFF
##A5225B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495C
Deuteranopia (green-blind)
#646258
Tritanopia (blue-blind)
#B3033C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5225b;
/* rgb */ color: rgb(165, 34, 91);
/* oklch */ color: oklch(48.5% 0.171 0.0);
Tailwind
colors: {
  custom: {
    50: '#c56b89',
    500: '#a5225b',
    950: '#000000',
  },
}
SCSS
$custom: #a5225b;
$custom-light: #c56b89;
$custom-dark: #000000;
JSON
{
  "hex": "#a5225b",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 333.893,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.1712,
    "h": 0
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#A5225B
secondary
#5FC498
accent
#E99F3F
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5225B

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

Preview Lab → · Contrast checker → · Palette generator →

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