#AB3058#AB3058

#AB3058 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.161 H 5.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB3058
RGBrgb(171, 48, 88)
HSLhsl(340, 56%, 43%)
HSVhsv(340, 72%, 67%)
CMYKcmyk(0%, 71.9%, 48.5%, 32.9%)
CIE-LABlab(40.38, 52.47, 5.74)
CIE-LCHlch(40.38, 52.79, 6.24°)
OKLaboklab(50.68% 0.1603 0.0152)
OKLCHoklch(50.68% 0.161 5.4)
XYZxyz(19.6146, 11.4790, 10.4134)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3058 #30AB83
analogous
#AB3095 #AB3058 #AB4630
triadic
#AB3058 #58AB30 #3058AB
tetradic
#AB3058 #95AB30 #30AB83 #4630AB
square
#AB3058 #95AB30 #30AB83 #4630AB
split-complementary
#AB3058 #30AB46 #3095AB
monochromatic
#4B1527 #7B233F #AB3058 #CD4C76 #DA7B9A

Accessibility & contrast

On white

6.37
#AB3058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB3058 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3058
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3058#FFFFFF#000000##FFFFFF
##AB30581.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5059
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#BA1940
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab3058;
/* rgb */ color: rgb(171, 48, 88);
/* oklch */ color: oklch(50.7% 0.161 5.4);
Tailwind
colors: {
  custom: {
    50: '#c97286',
    500: '#ab3058',
    950: '#000000',
  },
}
SCSS
$custom: #ab3058;
$custom-light: #c97286;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3058",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 88
  },
  "hsl": {
    "h": 340.488,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50684,
    "c": 0.16097,
    "h": 5.4
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#AB3058
secondary
#74C3A9
accent
#DFAE48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB3058

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

Preview Lab → · Contrast checker → · Palette generator →

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