#AB2658#AB2658

#AB2658 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.172 H 3.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB2658
RGBrgb(171, 38, 88)
HSLhsl(337, 64%, 41%)
HSVhsv(337, 78%, 67%)
CMYKcmyk(0%, 77.8%, 48.5%, 32.9%)
CIE-LABlab(39.16, 55.88, 4.00)
CIE-LCHlch(39.16, 56.02, 4.09°)
OKLaboklab(49.79% 0.1712 0.0108)
OKLCHoklch(49.79% 0.172 3.6)
XYZxyz(19.2508, 10.7514, 10.2921)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2658 #26AB79
analogous
#AB269A #AB2658 #AB3726
triadic
#AB2658 #58AB26 #2658AB
tetradic
#AB2658 #9AAB26 #26AB79 #3726AB
square
#AB2658 #9AAB26 #26AB79 #3726AB
split-complementary
#AB2658 #26AB37 #269AAB
monochromatic
#471024 #791B3E #AB2658 #D33B74 #DF6D98

Accessibility & contrast

On white

6.67
#AB2658 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB2658 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2658
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2658#FFFFFF#000000##FFFFFF
##AB26581.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C59
Deuteranopia (green-blind)
#6A6655
Tritanopia (blue-blind)
#BA023C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2658;
/* rgb */ color: rgb(171, 38, 88);
/* oklch */ color: oklch(49.8% 0.172 3.6);
Tailwind
colors: {
  custom: {
    50: '#ca6e86',
    500: '#ab2658',
    950: '#000000',
  },
}
SCSS
$custom: #ab2658;
$custom-light: #ca6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2658",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 337.444,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.17154,
    "h": 3.6
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#AB2658
secondary
#68C5A2
accent
#E7A841
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2658

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

Preview Lab → · Contrast checker → · Palette generator →

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