#AB4262#AB4262

#AB4262 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.0% C 0.140 H 4.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB4262
RGBrgb(171, 66, 98)
HSLhsl(342, 44%, 46%)
HSVhsv(342, 61%, 67%)
CMYKcmyk(0%, 61.4%, 42.7%, 32.9%)
CIE-LABlab(43.42, 45.92, 3.85)
CIE-LCHlch(43.42, 46.08, 4.79°)
OKLaboklab(53.03% 0.14 0.0104)
OKLCHoklch(53.03% 0.14 4.3)
XYZxyz(20.9488, 13.4386, 13.0436)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4262 #42AB8B
analogous
#AB4297 #AB4262 #AB5742
triadic
#AB4262 #62AB42 #4262AB
tetradic
#AB4262 #97AB42 #42AB8B #5742AB
square
#AB4262 #97AB42 #42AB8B #5742AB
split-complementary
#AB4262 #42AB57 #4297AB
monochromatic
#53202F #7F3149 #AB4262 #C46683 #D592A7

Accessibility & contrast

On white

5.70
#AB4262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB4262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4262
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4262#FFFFFF#000000##FFFFFF
##AB42621.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A63
Deuteranopia (green-blind)
#726E60
Tritanopia (blue-blind)
#B9364E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4262;
/* rgb */ color: rgb(171, 66, 98);
/* oklch */ color: oklch(53.0% 0.140 4.3);
Tailwind
colors: {
  custom: {
    50: '#c87c8e',
    500: '#ab4262',
    950: '#000000',
  },
}
SCSS
$custom: #ab4262;
$custom-light: #c87c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4262",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 341.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53033,
    "c": 0.1404,
    "h": 4.3
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#AB4262
secondary
#88C0AF
accent
#D4AD54
background
#FCF7F8
surface
#F9EEF0
border
#D2C9CB
text
#140A0C
muted
#827C7D

Preview Lab

Preview with #AB4262

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

Preview Lab → · Contrast checker → · Palette generator →

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