#AB254C#AB254C

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

Color values

HEX#AB254C
RGBrgb(171, 37, 76)
HSLhsl(343, 64%, 41%)
HSVhsv(343, 78%, 67%)
CMYKcmyk(0%, 78.4%, 55.6%, 32.9%)
CIE-LABlab(38.73, 55.20, 11.04)
CIE-LCHlch(38.73, 56.30, 11.31°)
OKLaboklab(49.37% 0.1677 0.028)
OKLCHoklch(49.37% 0.17 9.5)
XYZxyz(18.7625, 10.5056, 7.8759)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB254C #25AB84
analogous
#AB258F #AB254C #AB4125
triadic
#AB254C #4CAB25 #254CAB
tetradic
#AB254C #8FAB25 #25AB84 #4125AB
square
#AB254C #8FAB25 #25AB84 #4125AB
split-complementary
#AB254C #25AB41 #258FAB
monochromatic
#460F1F #791A36 #AB254C #D43966 #DF6B8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB254C#FFFFFF#000000##FFFFFF
##AB254C1.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)
#494A4D
Deuteranopia (green-blind)
#6C6549
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab254c;
/* rgb */ color: rgb(171, 37, 76);
/* oklch */ color: oklch(49.4% 0.170 9.5);
Tailwind
colors: {
  custom: {
    50: '#ca6d7d',
    500: '#ab254c',
    950: '#000000',
  },
}
SCSS
$custom: #ab254c;
$custom-light: #ca6d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab254c",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 342.537,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.16999,
    "h": 9.5
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB254C

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

Preview Lab → · Contrast checker → · Palette generator →

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