#AB7EA2#AB7EA2

#AB7EA2 is a light, moderate pink. Relative luminance 0.262; OKLCH L 64.9% C 0.074 H 333.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB7EA2
RGBrgb(171, 126, 162)
HSLhsl(312, 21%, 58%)
HSVhsv(312, 26%, 67%)
CMYKcmyk(0%, 26.3%, 5.3%, 32.9%)
CIE-LABlab(58.22, 23.45, -12.37)
CIE-LCHlch(58.22, 26.51, 332.19°)
OKLaboklab(64.89% 0.0666 -0.0331)
OKLCHoklch(64.89% 0.074 333.6)
XYZxyz(30.7766, 26.1893, 37.6093)
Luminance0.2619 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7EA2 #7EAB87
analogous
#9D7EAB #AB7EA2 #AB7E8B
triadic
#AB7EA2 #A2AB7E #7EA2AB
tetradic
#AB7EA2 #AB9D7E #7EAB87 #7E8BAB
square
#AB7EA2 #AB9D7E #7EAB87 #7E8BAB
split-complementary
#AB7EA2 #8BAB7E #7EAB9D
monochromatic
#6A4562 #8F5D85 #AB7EA2 #C3A3BD #DBC8D7

Accessibility & contrast

On white

3.37
#AB7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AB7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7EA2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7EA2#FFFFFF#000000##000000
##AB7EA21.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E88A3
Deuteranopia (green-blind)
#888EA1
Tritanopia (blue-blind)
#AF808A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab7ea2;
/* rgb */ color: rgb(171, 126, 162);
/* oklch */ color: oklch(64.9% 0.074 333.6);
Tailwind
colors: {
  custom: {
    50: '#c4a4bd',
    500: '#ab7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ea2;
$custom-light: #c4a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ea2",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 312,
    "s": 21.127,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.07436,
    "h": 333.6
  },
  "luminance": 0.26188
}

Semantic roles & 50–950 ramp

primary
#AB7EA2
secondary
#B9CBBD
accent
#BE7B6A
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#130F12
muted
#827F81

Preview Lab

Preview with #AB7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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