#AB2256#AB2256

#AB2256 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.175 H 4.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AB2256
RGBrgb(171, 34, 86)
HSLhsl(337, 67%, 40%)
HSVhsv(337, 80%, 67%)
CMYKcmyk(0%, 80.1%, 49.7%, 32.9%)
CIE-LABlab(38.68, 56.89, 4.59)
CIE-LCHlch(38.68, 57.08, 4.61°)
OKLaboklab(49.42% 0.1743 0.0123)
OKLCHoklch(49.42% 0.175 4)
XYZxyz(19.0480, 10.4765, 9.8214)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2256 #22AB77
analogous
#AB229B #AB2256 #AB3222
triadic
#AB2256 #56AB22 #2256AB
tetradic
#AB2256 #9BAB22 #22AB77 #3222AB
square
#AB2256 #9BAB22 #22AB77 #3222AB
split-complementary
#AB2256 #22AB32 #229BAB
monochromatic
#450E23 #78183C #AB2256 #D73471 #E16795

Accessibility & contrast

On white

6.79
#AB2256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2256
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2256#FFFFFF#000000##FFFFFF
##AB22561.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A57
Deuteranopia (green-blind)
#696553
Tritanopia (blue-blind)
#BA0039
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2256;
/* rgb */ color: rgb(171, 34, 86);
/* oklch */ color: oklch(49.4% 0.175 4.0);
Tailwind
colors: {
  custom: {
    50: '#ca6c85',
    500: '#ab2256',
    950: '#000000',
  },
}
SCSS
$custom: #ab2256;
$custom-light: #ca6c85;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2256",
  "rgb": {
    "r": 171,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 337.226,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.17472,
    "h": 4
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#AB2256
secondary
#63C6A0
accent
#EAA93E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB2256

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

Preview Lab → · Contrast checker → · Palette generator →

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