#AB2952#AB2952

#AB2952 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.167 H 7.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB2952
RGBrgb(171, 41, 82)
HSLhsl(341, 61%, 42%)
HSVhsv(341, 76%, 67%)
CMYKcmyk(0%, 76%, 52%, 32.9%)
CIE-LABlab(39.34, 54.41, 8.06)
CIE-LCHlch(39.34, 55.00, 8.43°)
OKLaboklab(49.86% 0.1659 0.0209)
OKLCHoklch(49.86% 0.167 7.2)
XYZxyz(19.1122, 10.8557, 9.0700)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2952 #29AB82
analogous
#AB2993 #AB2952 #AB4129
triadic
#AB2952 #52AB29 #2952AB
tetradic
#AB2952 #93AB29 #29AB82 #4129AB
square
#AB2952 #93AB29 #29AB82 #4129AB
split-complementary
#AB2952 #29AB41 #2993AB
monochromatic
#481123 #7A1D3A #AB2952 #D1406E #DD7193

Accessibility & contrast

On white

6.62
#AB2952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB2952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2952
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2952#FFFFFF#000000##FFFFFF
##AB29521.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C53
Deuteranopia (green-blind)
#6C664F
Tritanopia (blue-blind)
#BB043A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2952;
/* rgb */ color: rgb(171, 41, 82);
/* oklch */ color: oklch(49.9% 0.167 7.2);
Tailwind
colors: {
  custom: {
    50: '#ca6f82',
    500: '#ab2952',
    950: '#000000',
  },
}
SCSS
$custom: #ab2952;
$custom-light: #ca6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2952",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 341.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.16719,
    "h": 7.2
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#AB2952
secondary
#6CC4A8
accent
#E4B243
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2952

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

Preview Lab → · Contrast checker → · Palette generator →

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