#AB274F#AB274F

#AB274F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.169 H 8.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AB274F
RGBrgb(171, 39, 79)
HSLhsl(342, 63%, 41%)
HSVhsv(342, 77%, 67%)
CMYKcmyk(0%, 77.2%, 53.8%, 32.9%)
CIE-LABlab(39.03, 54.81, 9.54)
CIE-LCHlch(39.03, 55.64, 9.87°)
OKLaboklab(49.61% 0.1668 0.0244)
OKLCHoklch(49.61% 0.169 8.3)
XYZxyz(18.9331, 10.6762, 8.4594)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB274F #27AB83
analogous
#AB2791 #AB274F #AB4127
triadic
#AB274F #4FAB27 #274FAB
tetradic
#AB274F #91AB27 #27AB83 #4127AB
square
#AB274F #91AB27 #27AB83 #4127AB
split-complementary
#AB274F #27AB41 #2791AB
monochromatic
#471021 #791C38 #AB274F #D33D6A #DE6E90

Accessibility & contrast

On white

6.70
#AB274F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB274F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB274F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB274F#FFFFFF#000000##FFFFFF
##AB274F1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B50
Deuteranopia (green-blind)
#6C654C
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab274f;
/* rgb */ color: rgb(171, 39, 79);
/* oklch */ color: oklch(49.6% 0.169 8.3);
Tailwind
colors: {
  custom: {
    50: '#ca6e80',
    500: '#ab274f',
    950: '#000000',
  },
}
SCSS
$custom: #ab274f;
$custom-light: #ca6e80;
$custom-dark: #000000;
JSON
{
  "hex": "#ab274f",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 341.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.16859,
    "h": 8.3
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#AB274F
secondary
#69C5A9
accent
#E6B442
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB274F

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

Preview Lab → · Contrast checker → · Palette generator →

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