#AB274A#AB274A

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

Color values

HEX#AB274A
RGBrgb(171, 39, 74)
HSLhsl(344, 63%, 41%)
HSVhsv(344, 77%, 67%)
CMYKcmyk(0%, 77.2%, 56.7%, 32.9%)
CIE-LABlab(38.91, 54.43, 12.55)
CIE-LCHlch(38.91, 55.86, 12.99°)
OKLaboklab(49.48% 0.1649 0.0315)
OKLCHoklch(49.48% 0.168 10.8)
XYZxyz(18.7580, 10.6061, 7.5367)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB274A #27AB88
analogous
#AB278C #AB274A #AB4627
triadic
#AB274A #4AAB27 #274AAB
tetradic
#AB274A #8CAB27 #27AB88 #4627AB
square
#AB274A #8CAB27 #27AB88 #4627AB
split-complementary
#AB274A #27AB46 #278CAB
monochromatic
#47101F #791C34 #AB274A #D33D64 #DE6E8C

Accessibility & contrast

On white

6.73
#AB274A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AB274A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB274A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB274A#FFFFFF#000000##FFFFFF
##AB274A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#6C6547
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab274a;
/* rgb */ color: rgb(171, 39, 74);
/* oklch */ color: oklch(49.5% 0.168 10.8);
Tailwind
colors: {
  custom: {
    50: '#cb6e7c',
    500: '#ab274a',
    950: '#000000',
  },
}
SCSS
$custom: #ab274a;
$custom-light: #cb6e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab274a",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 344.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.16786,
    "h": 10.8
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#AB274A
secondary
#69C5AC
accent
#E6BA42
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB274A

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

Preview Lab → · Contrast checker → · Palette generator →

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