#AB7FA2#AB7FA2

#AB7FA2 is a light, moderate pink. Relative luminance 0.264; OKLCH L 65.1% C 0.072 H 333.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AB7FA2
RGBrgb(171, 127, 162)
HSLhsl(312, 21%, 58%)
HSVhsv(312, 26%, 67%)
CMYKcmyk(0%, 25.7%, 5.3%, 32.9%)
CIE-LABlab(58.46, 22.88, -12.00)
CIE-LCHlch(58.46, 25.84, 332.32°)
OKLaboklab(65.08% 0.065 -0.0321)
OKLCHoklch(65.08% 0.072 333.7)
XYZxyz(30.9051, 26.4464, 37.6521)
Luminance0.2645 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FA2 #7FAB88
analogous
#9E7FAB #AB7FA2 #AB7F8C
triadic
#AB7FA2 #A2AB7F #7FA2AB
tetradic
#AB7FA2 #AB9E7F #7FAB88 #7F8CAB
square
#AB7FA2 #AB9E7F #7FAB88 #7F8CAB
split-complementary
#AB7FA2 #8CAB7F #7FAB9E
monochromatic
#6A4663 #8F5E85 #AB7FA2 #C3A4BD #DBC9D8

Accessibility & contrast

On white

3.34
#AB7FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AB7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7FA2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7FA2#FFFFFF#000000##000000
##AB7FA21.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A3
Deuteranopia (green-blind)
#898FA1
Tritanopia (blue-blind)
#AF818B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab7fa2;
/* rgb */ color: rgb(171, 127, 162);
/* oklch */ color: oklch(65.1% 0.072 333.7);
Tailwind
colors: {
  custom: {
    50: '#c4a4bd',
    500: '#ab7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ab7fa2;
$custom-light: #c4a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7fa2",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 312.273,
    "s": 20.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6508,
    "c": 0.07249,
    "h": 333.7
  },
  "luminance": 0.26445
}

Semantic roles & 50–950 ramp

primary
#AB7FA2
secondary
#BACCBE
accent
#BD7B6A
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#130F12
muted
#827F81

Preview Lab

Preview with #AB7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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