#AB225B#AB225B

#AB225B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.176 H 1.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AB225B
RGBrgb(171, 34, 91)
HSLhsl(335, 67%, 40%)
HSVhsv(335, 80%, 67%)
CMYKcmyk(0%, 80.1%, 46.8%, 32.9%)
CIE-LABlab(38.83, 57.33, 1.61)
CIE-LCHlch(38.83, 57.35, 1.61°)
OKLaboklab(49.57% 0.1761 0.0048)
OKLCHoklch(49.57% 0.176 1.6)
XYZxyz(19.2565, 10.5599, 10.9198)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB225B #22AB72
analogous
#AB22A0 #AB225B #AB2D22
triadic
#AB225B #5BAB22 #225BAB
tetradic
#AB225B #A0AB22 #22AB72 #2D22AB
square
#AB225B #A0AB22 #22AB72 #2D22AB
split-complementary
#AB225B #22AB2D #22A0AB
monochromatic
#450E25 #781840 #AB225B #D73477 #E16799

Accessibility & contrast

On white

6.75
#AB225B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB225B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB225B#FFFFFF#000000##FFFFFF
##AB225B1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5C
Deuteranopia (green-blind)
#686558
Tritanopia (blue-blind)
#BA003C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab225b;
/* rgb */ color: rgb(171, 34, 91);
/* oklch */ color: oklch(49.6% 0.176 1.6);
Tailwind
colors: {
  custom: {
    50: '#ca6c89',
    500: '#ab225b',
    950: '#000000',
  },
}
SCSS
$custom: #ab225b;
$custom-light: #ca6c89;
$custom-dark: #000000;
JSON
{
  "hex": "#ab225b",
  "rgb": {
    "r": 171,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 335.036,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.17612,
    "h": 1.6
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#AB225B
secondary
#63C69D
accent
#EAA23E
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB225B

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

Preview Lab → · Contrast checker → · Palette generator →

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