#AB214E#AB214E

#AB214E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.174 H 7.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AB214E
RGBrgb(171, 33, 78)
HSLhsl(340, 68%, 40%)
HSVhsv(340, 81%, 67%)
CMYKcmyk(0%, 80.7%, 54.4%, 32.9%)
CIE-LABlab(38.37, 56.52, 9.26)
CIE-LCHlch(38.37, 57.27, 9.30°)
OKLaboklab(49.12% 0.1722 0.0237)
OKLCHoklch(49.12% 0.174 7.8)
XYZxyz(18.7154, 10.2984, 8.2086)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB214E #21AB7E
analogous
#AB2193 #AB214E #AB3921
triadic
#AB214E #4EAB21 #214EAB
tetradic
#AB214E #93AB21 #21AB7E #3921AB
square
#AB214E #93AB21 #21AB7E #3921AB
split-complementary
#AB214E #21AB39 #2193AB
monochromatic
#440D1F #781737 #AB214E #D73268 #E1658E

Accessibility & contrast

On white

6.86
#AB214E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AB214E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB214E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB214E#FFFFFF#000000##FFFFFF
##AB214E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#6A644B
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab214e;
/* rgb */ color: rgb(171, 33, 78);
/* oklch */ color: oklch(49.1% 0.174 7.8);
Tailwind
colors: {
  custom: {
    50: '#ca6c7f',
    500: '#ab214e',
    950: '#000000',
  },
}
SCSS
$custom: #ab214e;
$custom-light: #ca6c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab214e",
  "rgb": {
    "r": 171,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 340.435,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.17382,
    "h": 7.8
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#AB214E
secondary
#61C7A6
accent
#EBB23D
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AB214E

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

Preview Lab → · Contrast checker → · Palette generator →

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