#AB254A#AB254A

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

Color values

HEX#AB254A
RGBrgb(171, 37, 74)
HSLhsl(343, 64%, 41%)
HSVhsv(343, 78%, 67%)
CMYKcmyk(0%, 78.4%, 56.7%, 32.9%)
CIE-LABlab(38.69, 55.05, 12.25)
CIE-LCHlch(38.69, 56.40, 12.54°)
OKLaboklab(49.32% 0.1669 0.0308)
OKLCHoklch(49.32% 0.17 10.5)
XYZxyz(18.6940, 10.4782, 7.5154)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB254A #25AB86
analogous
#AB258D #AB254A #AB4325
triadic
#AB254A #4AAB25 #254AAB
tetradic
#AB254A #8DAB25 #25AB86 #4325AB
square
#AB254A #8DAB25 #25AB86 #4325AB
split-complementary
#AB254A #25AB43 #258DAB
monochromatic
#460F1E #791A34 #AB254A #D43964 #DF6B8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB254A#FFFFFF#000000##FFFFFF
##AB254A1.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4B
Deuteranopia (green-blind)
#6C6547
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab254a;
/* rgb */ color: rgb(171, 37, 74);
/* oklch */ color: oklch(49.3% 0.170 10.5);
Tailwind
colors: {
  custom: {
    50: '#cb6d7c',
    500: '#ab254a',
    950: '#000000',
  },
}
SCSS
$custom: #ab254a;
$custom-light: #cb6d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab254a",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 343.433,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49321,
    "c": 0.1697,
    "h": 10.5
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#AB254A
secondary
#67C5AB
accent
#E7B940
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AB254A

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

Preview Lab → · Contrast checker → · Palette generator →

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