#AB254B#AB254B

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

Color values

HEX#AB254B
RGBrgb(171, 37, 75)
HSLhsl(343, 64%, 41%)
HSVhsv(343, 78%, 67%)
CMYKcmyk(0%, 78.4%, 56.1%, 32.9%)
CIE-LABlab(38.71, 55.13, 11.64)
CIE-LCHlch(38.71, 56.34, 11.93°)
OKLaboklab(49.35% 0.1673 0.0294)
OKLCHoklch(49.35% 0.17 10)
XYZxyz(18.7280, 10.4918, 7.6942)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB254B #25AB85
analogous
#AB258E #AB254B #AB4225
triadic
#AB254B #4BAB25 #254BAB
tetradic
#AB254B #8EAB25 #25AB85 #4225AB
square
#AB254B #8EAB25 #25AB85 #4225AB
split-complementary
#AB254B #25AB42 #258EAB
monochromatic
#460F1F #791A35 #AB254B #D43965 #DF6B8C

Accessibility & contrast

On white

6.78
#AB254B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB254B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB254B#FFFFFF#000000##FFFFFF
##AB254B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab254b;
/* rgb */ color: rgb(171, 37, 75);
/* oklch */ color: oklch(49.3% 0.170 10.0);
Tailwind
colors: {
  custom: {
    50: '#cb6d7d',
    500: '#ab254b',
    950: '#000000',
  },
}
SCSS
$custom: #ab254b;
$custom-light: #cb6d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab254b",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 342.985,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.16984,
    "h": 10
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#AB254B
secondary
#67C5AA
accent
#E7B840
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB254B

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

Preview Lab → · Contrast checker → · Palette generator →

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