#A5225C#A5225C

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

Color values

HEX#A5225C
RGBrgb(165, 34, 92)
HSLhsl(333, 66%, 39%)
HSVhsv(333, 79%, 65%)
CMYKcmyk(0%, 79.4%, 44.2%, 35.3%)
CIE-LABlab(37.70, 55.80, -0.82)
CIE-LCHlch(37.70, 55.81, 359.16°)
OKLaboklab(48.54% 0.1715 -0.0015)
OKLCHoklch(48.54% 0.172 359.5)
XYZxyz(18.0223, 9.9185, 11.0886)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5225C #22A56B
analogous
#A5229E #A5225C #A52A22
triadic
#A5225C #5CA522 #225CA5
tetradic
#A5225C #9EA522 #22A56B #2A22A5
square
#A5225C #9EA522 #22A56B #2A22A5
split-complementary
#A5225C #22A52A #229EA5
monochromatic
#400D23 #721840 #A5225C #D43079 #DF639A

Accessibility & contrast

On white

7.04
#A5225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5225C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5225C#FFFFFF#000000##FFFFFF
##A5225C1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495D
Deuteranopia (green-blind)
#646259
Tritanopia (blue-blind)
#B3043C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5225c;
/* rgb */ color: rgb(165, 34, 92);
/* oklch */ color: oklch(48.5% 0.172 359.5);
Tailwind
colors: {
  custom: {
    50: '#c56b8a',
    500: '#a5225c',
    950: '#000000',
  },
}
SCSS
$custom: #a5225c;
$custom-light: #c56b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5225c",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 333.435,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48542,
    "c": 0.17155,
    "h": 359.5
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#A5225C
secondary
#5FC497
accent
#E99E3F
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5225C

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

Preview Lab → · Contrast checker → · Palette generator →

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