#AB3077#AB3077

#AB3077 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.173 H 349.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AB3077
RGBrgb(171, 48, 119)
HSLhsl(325, 56%, 43%)
HSVhsv(325, 72%, 67%)
CMYKcmyk(0%, 71.9%, 30.4%, 32.9%)
CIE-LABlab(41.38, 55.80, -12.17)
CIE-LCHlch(41.38, 57.11, 347.69°)
OKLaboklab(51.76% 0.1701 -0.0318)
OKLCHoklch(51.76% 0.173 349.4)
XYZxyz(21.1824, 12.1061, 18.6704)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3077 #30AB64
analogous
#A130AB #AB3077 #AB3039
triadic
#AB3077 #77AB30 #3077AB
tetradic
#AB3077 #ABA130 #30AB64 #3039AB
square
#AB3077 #ABA130 #30AB64 #3039AB
split-complementary
#AB3077 #39AB30 #30ABA1
monochromatic
#4B1534 #7B2356 #AB3077 #CD4C96 #DA7BB2

Accessibility & contrast

On white

6.14
#AB3077 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB3077 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3077
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3077#FFFFFF#000000##FFFFFF
##AB30771.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435479
Deuteranopia (green-blind)
#666974
Tritanopia (blue-blind)
#B72A4F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3077;
/* rgb */ color: rgb(171, 48, 119);
/* oklch */ color: oklch(51.8% 0.173 349.4);
Tailwind
colors: {
  custom: {
    50: '#c8739e',
    500: '#ab3077',
    950: '#000000',
  },
}
SCSS
$custom: #ab3077;
$custom-light: #c8739e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3077",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 119
  },
  "hsl": {
    "h": 325.366,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.17308,
    "h": 349.4
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#AB3077
secondary
#74C395
accent
#DF8848
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3077

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

Preview Lab → · Contrast checker → · Palette generator →

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