#AB3274#AB3274

#AB3274 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.169 H 351.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB3274
RGBrgb(171, 50, 116)
HSLhsl(327, 55%, 43%)
HSVhsv(327, 71%, 67%)
CMYKcmyk(0%, 70.8%, 32.2%, 32.9%)
CIE-LABlab(41.54, 54.70, -10.08)
CIE-LCHlch(41.54, 55.62, 349.55°)
OKLaboklab(51.83% 0.167 -0.0261)
OKLCHoklch(51.83% 0.169 351.1)
XYZxyz(21.0887, 12.2025, 17.7643)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3274 #32AB69
analogous
#A532AB #AB3274 #AB3237
triadic
#AB3274 #74AB32 #3274AB
tetradic
#AB3274 #ABA532 #32AB69 #3237AB
square
#AB3274 #ABA532 #32AB69 #3237AB
split-complementary
#AB3274 #37AB32 #32ABA5
monochromatic
#4C1634 #7C2454 #AB3274 #CB4F93 #D97EB0

Accessibility & contrast

On white

6.10
#AB3274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB3274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3274
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3274#FFFFFF#000000##FFFFFF
##AB32741.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455476
Deuteranopia (green-blind)
#686A71
Tritanopia (blue-blind)
#B82A4E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3274;
/* rgb */ color: rgb(171, 50, 116);
/* oklch */ color: oklch(51.8% 0.169 351.1);
Tailwind
colors: {
  custom: {
    50: '#c8749c',
    500: '#ab3274',
    950: '#000000',
  },
}
SCSS
$custom: #ab3274;
$custom-light: #c8749c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3274",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 327.273,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.16906,
    "h": 351.1
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#AB3274
secondary
#77C299
accent
#DE8D4A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3274

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

Preview Lab → · Contrast checker → · Palette generator →

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