#AB254D#AB254D

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

Color values

HEX#AB254D
RGBrgb(171, 37, 77)
HSLhsl(342, 64%, 41%)
HSVhsv(342, 78%, 67%)
CMYKcmyk(0%, 78.4%, 55%, 32.9%)
CIE-LABlab(38.76, 55.28, 10.44)
CIE-LCHlch(38.76, 56.26, 10.69°)
OKLaboklab(49.4% 0.1681 0.0265)
OKLCHoklch(49.4% 0.17 9)
XYZxyz(18.7975, 10.5196, 8.0604)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB254D #25AB83
analogous
#AB2590 #AB254D #AB4025
triadic
#AB254D #4DAB25 #254DAB
tetradic
#AB254D #90AB25 #25AB83 #4025AB
square
#AB254D #90AB25 #25AB83 #4025AB
split-complementary
#AB254D #25AB40 #2590AB
monochromatic
#460F20 #791A36 #AB254D #D43967 #DF6B8E

Accessibility & contrast

On white

6.77
#AB254D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AB254D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB254D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB254D#FFFFFF#000000##FFFFFF
##AB254D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4E
Deuteranopia (green-blind)
#6C654A
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab254d;
/* rgb */ color: rgb(171, 37, 77);
/* oklch */ color: oklch(49.4% 0.170 9.0);
Tailwind
colors: {
  custom: {
    50: '#ca6d7e',
    500: '#ab254d',
    950: '#000000',
  },
}
SCSS
$custom: #ab254d;
$custom-light: #ca6d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab254d",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 342.09,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49397,
    "c": 0.17014,
    "h": 9
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#AB254D
secondary
#67C5A9
accent
#E7B640
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB254D

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

Preview Lab → · Contrast checker → · Palette generator →

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