#AB458F#AB458F

#AB458F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.1% C 0.159 H 339.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB458F
RGBrgb(171, 69, 143)
HSLhsl(316, 43%, 47%)
HSVhsv(316, 60%, 67%)
CMYKcmyk(0%, 59.6%, 16.4%, 32.9%)
CIE-LABlab(45.50, 50.44, -20.55)
CIE-LCHlch(45.50, 54.46, 337.84°)
OKLaboklab(55.09% 0.1491 -0.0553)
OKLCHoklch(55.09% 0.159 339.7)
XYZxyz(23.8811, 14.8993, 27.5994)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB458F #45AB61
analogous
#9445AB #AB458F #AB455C
triadic
#AB458F #8FAB45 #458FAB
tetradic
#AB458F #AB9445 #45AB61 #455CAB
square
#AB458F #AB9445 #45AB61 #455CAB
split-complementary
#AB458F #5CAB45 #45AB94
monochromatic
#542246 #7F336B #AB458F #C36AAB #D596C3

Accessibility & contrast

On white

5.28
#AB458F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB458F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB458F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB458F#FFFFFF#000000##FFFFFF
##AB458F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#68728C
Tritanopia (blue-blind)
#B44864
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab458f;
/* rgb */ color: rgb(171, 69, 143);
/* oklch */ color: oklch(55.1% 0.159 339.7);
Tailwind
colors: {
  custom: {
    50: '#c77eb0',
    500: '#ab458f',
    950: '#000000',
  },
}
SCSS
$custom: #ab458f;
$custom-light: #c77eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab458f",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 316.471,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55089,
    "c": 0.15905,
    "h": 339.7
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#AB458F
secondary
#8BC09A
accent
#D27856
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB458F

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

Preview Lab → · Contrast checker → · Palette generator →

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