#A5225E#A5225E

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

Color values

HEX#A5225E
RGBrgb(165, 34, 94)
HSLhsl(333, 66%, 39%)
HSVhsv(333, 79%, 65%)
CMYKcmyk(0%, 79.4%, 43%, 35.3%)
CIE-LABlab(37.76, 56.00, -2.00)
CIE-LCHlch(37.76, 56.03, 357.95°)
OKLaboklab(48.61% 0.1722 -0.0046)
OKLCHoklch(48.61% 0.172 358.5)
XYZxyz(18.1108, 9.9539, 11.5551)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5225E #22A569
analogous
#A522A0 #A5225E #A52822
triadic
#A5225E #5EA522 #225EA5
tetradic
#A5225E #A0A522 #22A569 #2822A5
square
#A5225E #A0A522 #22A569 #2822A5
split-complementary
#A5225E #22A528 #22A0A5
monochromatic
#400D24 #721841 #A5225E #D4307B #DF639B

Accessibility & contrast

On white

7.02
#A5225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5225E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5225E#FFFFFF#000000##FFFFFF
##A5225E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495F
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#B3063D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5225e;
/* rgb */ color: rgb(165, 34, 94);
/* oklch */ color: oklch(48.6% 0.172 358.5);
Tailwind
colors: {
  custom: {
    50: '#c56b8b',
    500: '#a5225e',
    950: '#000000',
  },
}
SCSS
$custom: #a5225e;
$custom-light: #c56b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5225e",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 332.519,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4861,
    "c": 0.17226,
    "h": 358.5
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#A5225E
secondary
#5FC496
accent
#E99B3F
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A5225E

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

Preview Lab → · Contrast checker → · Palette generator →

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