#AB225A#AB225A

#AB225A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.176 H 2.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB225A
RGBrgb(171, 34, 90)
HSLhsl(335, 67%, 40%)
HSVhsv(335, 80%, 67%)
CMYKcmyk(0%, 80.1%, 47.4%, 32.9%)
CIE-LABlab(38.80, 57.24, 2.21)
CIE-LCHlch(38.80, 57.28, 2.21°)
OKLaboklab(49.54% 0.1757 0.0063)
OKLCHoklch(49.54% 0.176 2)
XYZxyz(19.2137, 10.5428, 10.6941)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB225A #22AB73
analogous
#AB229F #AB225A #AB2E22
triadic
#AB225A #5AAB22 #225AAB
tetradic
#AB225A #9FAB22 #22AB73 #2E22AB
square
#AB225A #9FAB22 #22AB73 #2E22AB
split-complementary
#AB225A #22AB2E #229FAB
monochromatic
#450E24 #78183F #AB225A #D73476 #E16799

Accessibility & contrast

On white

6.76
#AB225A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB225A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB225A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB225A#FFFFFF#000000##FFFFFF
##AB225A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#696557
Tritanopia (blue-blind)
#BA003B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab225a;
/* rgb */ color: rgb(171, 34, 90);
/* oklch */ color: oklch(49.5% 0.176 2.0);
Tailwind
colors: {
  custom: {
    50: '#ca6c88',
    500: '#ab225a',
    950: '#000000',
  },
}
SCSS
$custom: #ab225a;
$custom-light: #ca6c88;
$custom-dark: #000000;
JSON
{
  "hex": "#ab225a",
  "rgb": {
    "r": 171,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 335.474,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.17582,
    "h": 2
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#AB225A
secondary
#63C69D
accent
#EAA43E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB225A

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

Preview Lab → · Contrast checker → · Palette generator →

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