#AB2253#AB2253

#AB2253 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.174 H 5.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB2253
RGBrgb(171, 34, 83)
HSLhsl(339, 67%, 40%)
HSVhsv(339, 80%, 67%)
CMYKcmyk(0%, 80.1%, 51.5%, 32.9%)
CIE-LABlab(38.60, 56.64, 6.39)
CIE-LCHlch(38.60, 57.00, 6.43°)
OKLaboklab(49.33% 0.1732 0.0167)
OKLCHoklch(49.33% 0.174 5.5)
XYZxyz(18.9297, 10.4292, 9.1982)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2253 #22AB7A
analogous
#AB2297 #AB2253 #AB3522
triadic
#AB2253 #53AB22 #2253AB
tetradic
#AB2253 #97AB22 #22AB7A #3522AB
square
#AB2253 #97AB22 #22AB7A #3522AB
split-complementary
#AB2253 #22AB35 #2297AB
monochromatic
#450E21 #78183A #AB2253 #D7346E #E16792

Accessibility & contrast

On white

6.81
#AB2253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2253
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2253#FFFFFF#000000##FFFFFF
##AB22531.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A54
Deuteranopia (green-blind)
#6A6550
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2253;
/* rgb */ color: rgb(171, 34, 83);
/* oklch */ color: oklch(49.3% 0.174 5.5);
Tailwind
colors: {
  custom: {
    50: '#ca6c83',
    500: '#ab2253',
    950: '#000000',
  },
}
SCSS
$custom: #ab2253;
$custom-light: #ca6c83;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2253",
  "rgb": {
    "r": 171,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 338.54,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.17399,
    "h": 5.5
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#AB2253
secondary
#63C6A3
accent
#EAAC3E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AB2253

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

Preview Lab → · Contrast checker → · Palette generator →

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