#AB458C#AB458C

#AB458C is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.0% C 0.157 H 341.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB458C
RGBrgb(171, 69, 140)
HSLhsl(318, 43%, 47%)
HSVhsv(318, 60%, 67%)
CMYKcmyk(0%, 59.6%, 18.1%, 32.9%)
CIE-LABlab(45.37, 49.98, -18.93)
CIE-LCHlch(45.37, 53.44, 339.26°)
OKLaboklab(54.96% 0.1485 -0.0507)
OKLCHoklch(54.96% 0.157 341.1)
XYZxyz(23.6568, 14.8096, 26.4185)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB458C #45AB64
analogous
#9745AB #AB458C #AB4559
triadic
#AB458C #8CAB45 #458CAB
tetradic
#AB458C #AB9745 #45AB64 #4559AB
square
#AB458C #AB9745 #45AB64 #4559AB
split-complementary
#AB458C #59AB45 #45AB97
monochromatic
#542245 #7F3368 #AB458C #C36AA8 #D596C2

Accessibility & contrast

On white

5.30
#AB458C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB458C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB458C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB458C#FFFFFF#000000##FFFFFF
##AB458C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618E
Deuteranopia (green-blind)
#697189
Tritanopia (blue-blind)
#B54762
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab458c;
/* rgb */ color: rgb(171, 69, 140);
/* oklch */ color: oklch(55.0% 0.157 341.1);
Tailwind
colors: {
  custom: {
    50: '#c77ead',
    500: '#ab458c',
    950: '#000000',
  },
}
SCSS
$custom: #ab458c;
$custom-light: #c77ead;
$custom-dark: #000000;
JSON
{
  "hex": "#ab458c",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 318.235,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.15691,
    "h": 341.1
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#AB458C
secondary
#8BC09C
accent
#D27B56
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB458C

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

Preview Lab → · Contrast checker → · Palette generator →

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