#A5225F#A5225F

#A5225F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.173 H 358.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A5225F
RGBrgb(165, 34, 95)
HSLhsl(332, 66%, 39%)
HSVhsv(332, 79%, 65%)
CMYKcmyk(0%, 79.4%, 42.4%, 35.3%)
CIE-LABlab(37.79, 56.10, -2.59)
CIE-LCHlch(37.79, 56.16, 357.36°)
OKLaboklab(48.64% 0.1725 -0.0061)
OKLCHoklch(48.64% 0.173 358)
XYZxyz(18.1560, 9.9720, 11.7930)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5225F #22A568
analogous
#A522A1 #A5225F #A52722
triadic
#A5225F #5FA522 #225FA5
tetradic
#A5225F #A1A522 #22A568 #2722A5
square
#A5225F #A1A522 #22A568 #2722A5
split-complementary
#A5225F #22A527 #22A1A5
monochromatic
#400D25 #721842 #A5225F #D4307C #DF639C

Accessibility & contrast

On white

7.01
#A5225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5225F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5225F#FFFFFF#000000##FFFFFF
##A5225F1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#63625C
Tritanopia (blue-blind)
#B3083E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5225f;
/* rgb */ color: rgb(165, 34, 95);
/* oklch */ color: oklch(48.6% 0.173 358.0);
Tailwind
colors: {
  custom: {
    50: '#c56b8c',
    500: '#a5225f',
    950: '#000000',
  },
}
SCSS
$custom: #a5225f;
$custom-light: #c56b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5225f",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 332.061,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.17263,
    "h": 358
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#A5225F
secondary
#5FC495
accent
#E99A3F
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A5225F

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

Preview Lab → · Contrast checker → · Palette generator →

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