#AB2758#AB2758

#AB2758 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.171 H 3.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB2758
RGBrgb(171, 39, 88)
HSLhsl(338, 63%, 41%)
HSVhsv(338, 77%, 67%)
CMYKcmyk(0%, 77.2%, 48.5%, 32.9%)
CIE-LABlab(39.27, 55.57, 4.15)
CIE-LCHlch(39.27, 55.72, 4.28°)
OKLaboklab(49.87% 0.1702 0.0112)
OKLCHoklch(49.87% 0.171 3.8)
XYZxyz(19.2832, 10.8162, 10.3029)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2758 #27AB7A
analogous
#AB279A #AB2758 #AB3827
triadic
#AB2758 #58AB27 #2758AB
tetradic
#AB2758 #9AAB27 #27AB7A #3827AB
square
#AB2758 #9AAB27 #27AB7A #3827AB
split-complementary
#AB2758 #27AB38 #279AAB
monochromatic
#471025 #791C3E #AB2758 #D33D74 #DE6E98

Accessibility & contrast

On white

6.64
#AB2758 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2758 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2758
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2758#FFFFFF#000000##FFFFFF
##AB27581.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2758;
/* rgb */ color: rgb(171, 39, 88);
/* oklch */ color: oklch(49.9% 0.171 3.8);
Tailwind
colors: {
  custom: {
    50: '#ca6e86',
    500: '#ab2758',
    950: '#000000',
  },
}
SCSS
$custom: #ab2758;
$custom-light: #ca6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2758",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 337.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49867,
    "c": 0.17056,
    "h": 3.8
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#AB2758
secondary
#69C5A3
accent
#E6A942
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2758

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

Preview Lab → · Contrast checker → · Palette generator →

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