#A5225D#A5225D

#A5225D is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.172 H 359.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A5225D
RGBrgb(165, 34, 93)
HSLhsl(333, 66%, 39%)
HSVhsv(333, 79%, 65%)
CMYKcmyk(0%, 79.4%, 43.6%, 35.3%)
CIE-LABlab(37.73, 55.90, -1.41)
CIE-LCHlch(37.73, 55.92, 358.56°)
OKLaboklab(48.58% 0.1719 -0.003)
OKLCHoklch(48.58% 0.172 359)
XYZxyz(18.0663, 9.9361, 11.3203)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5225D #22A56A
analogous
#A5229F #A5225D #A52922
triadic
#A5225D #5DA522 #225DA5
tetradic
#A5225D #9FA522 #22A56A #2922A5
square
#A5225D #9FA522 #22A56A #2922A5
split-complementary
#A5225D #22A529 #229FA5
monochromatic
#400D24 #721840 #A5225D #D4307A #DF639B

Accessibility & contrast

On white

7.03
#A5225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A5225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5225D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5225D#FFFFFF#000000##FFFFFF
##A5225D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495E
Deuteranopia (green-blind)
#64625A
Tritanopia (blue-blind)
#B3053D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5225d;
/* rgb */ color: rgb(165, 34, 93);
/* oklch */ color: oklch(48.6% 0.172 359.0);
Tailwind
colors: {
  custom: {
    50: '#c56b8a',
    500: '#a5225d',
    950: '#000000',
  },
}
SCSS
$custom: #a5225d;
$custom-light: #c56b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5225d",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 332.977,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48576,
    "c": 0.1719,
    "h": 359
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#A5225D
secondary
#5FC496
accent
#E99C3F
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5225D

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

Preview Lab → · Contrast checker → · Palette generator →

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