#AB164F#AB164F

#AB164F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.182 H 6.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AB164F
RGBrgb(171, 22, 79)
HSLhsl(337, 77%, 38%)
HSVhsv(337, 87%, 67%)
CMYKcmyk(0%, 87.1%, 53.8%, 32.9%)
CIE-LABlab(37.48, 59.22, 7.36)
CIE-LCHlch(37.48, 59.68, 7.08°)
OKLaboklab(48.47% 0.1811 0.0191)
OKLCHoklch(48.47% 0.182 6)
XYZxyz(18.4946, 9.7990, 8.3132)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB164F #16AB72
analogous
#AB1699 #AB164F #AB2716
triadic
#AB164F #4FAB16 #164FAB
tetradic
#AB164F #99AB16 #16AB72 #2716AB
square
#AB164F #99AB16 #16AB72 #2716AB
split-complementary
#AB164F #16AB27 #1699AB
monochromatic
#3F081D #750F36 #AB164F #E11D68 #E9538C

Accessibility & contrast

On white

7.10
#AB164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#AB164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AB164F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB164F#FFFFFF#000000##FFFFFF
##AB164F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424650
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#BB0031
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #ab164f;
/* rgb */ color: rgb(171, 22, 79);
/* oklch */ color: oklch(48.5% 0.182 6.0);
Tailwind
colors: {
  custom: {
    50: '#cb6880',
    500: '#ab164f',
    950: '#000000',
  },
}
SCSS
$custom: #ab164f;
$custom-light: #cb6880;
$custom-dark: #000000;
JSON
{
  "hex": "#ab164f",
  "rgb": {
    "r": 171,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 337.047,
    "s": 77.202,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48473,
    "c": 0.1821,
    "h": 6
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#AB164F
secondary
#52CB9D
accent
#F4AA34
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15070A
muted
#837A7C

Preview Lab

Preview with #AB164F

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

Preview Lab → · Contrast checker → · Palette generator →

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