#AB2454#AB2454

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

Color values

HEX#AB2454
RGBrgb(171, 36, 84)
HSLhsl(339, 65%, 41%)
HSVhsv(339, 79%, 67%)
CMYKcmyk(0%, 78.9%, 50.9%, 32.9%)
CIE-LABlab(38.83, 56.14, 6.08)
CIE-LCHlch(38.83, 56.47, 6.18°)
OKLaboklab(49.51% 0.1717 0.016)
OKLCHoklch(49.51% 0.172 5.3)
XYZxyz(19.0274, 10.5624, 9.4226)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2454 #24AB7B
analogous
#AB2497 #AB2454 #AB3824
triadic
#AB2454 #54AB24 #2454AB
tetradic
#AB2454 #97AB24 #24AB7B #3824AB
square
#AB2454 #97AB24 #24AB7B #3824AB
split-complementary
#AB2454 #24AB38 #2497AB
monochromatic
#460F22 #78193B #AB2454 #D5376F #E06A94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2454#FFFFFF#000000##FFFFFF
##AB24541.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)
#474A55
Deuteranopia (green-blind)
#6A6551
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2454;
/* rgb */ color: rgb(171, 36, 84);
/* oklch */ color: oklch(49.5% 0.172 5.3);
Tailwind
colors: {
  custom: {
    50: '#ca6d83',
    500: '#ab2454',
    950: '#000000',
  },
}
SCSS
$custom: #ab2454;
$custom-light: #ca6d83;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2454",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 84
  },
  "hsl": {
    "h": 338.667,
    "s": 65.217,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.17242,
    "h": 5.3
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#AB2454
secondary
#65C6A3
accent
#E8AC40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2454

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

Preview Lab → · Contrast checker → · Palette generator →

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