#AB2974#AB2974

#AB2974 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 350.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB2974
RGBrgb(171, 41, 116)
HSLhsl(325, 61%, 42%)
HSVhsv(325, 76%, 67%)
CMYKcmyk(0%, 76%, 32.2%, 32.9%)
CIE-LABlab(40.42, 57.83, -11.77)
CIE-LCHlch(40.42, 59.01, 348.50°)
OKLaboklab(51.02% 0.1769 -0.0307)
OKLCHoklch(51.02% 0.18 350.2)
XYZxyz(20.7411, 11.5072, 17.6485)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2974 #29AB60
analogous
#A129AB #AB2974 #AB2933
triadic
#AB2974 #74AB29 #2974AB
tetradic
#AB2974 #ABA129 #29AB60 #2933AB
square
#AB2974 #ABA129 #29AB60 #2933AB
split-complementary
#AB2974 #33AB29 #29ABA1
monochromatic
#481131 #7A1D53 #AB2974 #D14094 #DD71AF

Accessibility & contrast

On white

6.36
#AB2974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB2974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2974
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2974#FFFFFF#000000##FFFFFF
##AB29741.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5176
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#B8204B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2974;
/* rgb */ color: rgb(171, 41, 116);
/* oklch */ color: oklch(51.0% 0.179 350.2);
Tailwind
colors: {
  custom: {
    50: '#c8709c',
    500: '#ab2974',
    950: '#000000',
  },
}
SCSS
$custom: #ab2974;
$custom-light: #c8709c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2974",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 325.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.1795,
    "h": 350.2
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#AB2974
secondary
#6CC491
accent
#E48843
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2974

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

Preview Lab → · Contrast checker → · Palette generator →

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