#AB2058#AB2058

#AB2058 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 2.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AB2058
RGBrgb(171, 32, 88)
HSLhsl(336, 68%, 40%)
HSVhsv(336, 81%, 67%)
CMYKcmyk(0%, 81.3%, 48.5%, 32.9%)
CIE-LABlab(38.55, 57.61, 3.12)
CIE-LCHlch(38.55, 57.70, 3.10°)
OKLaboklab(49.34% 0.1768 0.0086)
OKLCHoklch(49.34% 0.177 2.8)
XYZxyz(19.0742, 10.3982, 10.2333)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2058 #20AB73
analogous
#AB209E #AB2058 #AB2D20
triadic
#AB2058 #58AB20 #2058AB
tetradic
#AB2058 #9EAB20 #20AB73 #2D20AB
square
#AB2058 #9EAB20 #20AB73 #2D20AB
split-complementary
#AB2058 #20AB2D #209EAB
monochromatic
#440D23 #77163D #AB2058 #D83074 #E26396

Accessibility & contrast

On white

6.82
#AB2058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB2058 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2058
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2058#FFFFFF#000000##FFFFFF
##AB20581.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#686455
Tritanopia (blue-blind)
#BA0039
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2058;
/* rgb */ color: rgb(171, 32, 88);
/* oklch */ color: oklch(49.3% 0.177 2.8);
Tailwind
colors: {
  custom: {
    50: '#ca6b86',
    500: '#ab2058',
    950: '#000000',
  },
}
SCSS
$custom: #ab2058;
$custom-light: #ca6b86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2058",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 335.827,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.17699,
    "h": 2.8
  },
  "luminance": 0.10396
}

Semantic roles & 50–950 ramp

primary
#AB2058
secondary
#60C79D
accent
#EBA53C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB2058

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

Preview Lab → · Contrast checker → · Palette generator →

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