#AB3074#AB3074

#AB3074 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.172 H 350.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AB3074
RGBrgb(171, 48, 116)
HSLhsl(327, 56%, 43%)
HSVhsv(327, 72%, 67%)
CMYKcmyk(0%, 71.9%, 32.2%, 32.9%)
CIE-LABlab(41.27, 55.43, -10.48)
CIE-LCHlch(41.27, 56.42, 349.29°)
OKLaboklab(51.64% 0.1694 -0.0272)
OKLCHoklch(51.64% 0.172 350.9)
XYZxyz(21.0051, 12.0352, 17.7365)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3074 #30AB67
analogous
#A430AB #AB3074 #AB3037
triadic
#AB3074 #74AB30 #3074AB
tetradic
#AB3074 #ABA430 #30AB67 #3037AB
square
#AB3074 #ABA430 #30AB67 #3037AB
split-complementary
#AB3074 #37AB30 #30ABA4
monochromatic
#4B1533 #7B2354 #AB3074 #CD4C93 #DA7BB0

Accessibility & contrast

On white

6.16
#AB3074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB3074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3074
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3074#FFFFFF#000000##FFFFFF
##AB30741.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445376
Deuteranopia (green-blind)
#676971
Tritanopia (blue-blind)
#B8284E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3074;
/* rgb */ color: rgb(171, 48, 116);
/* oklch */ color: oklch(51.6% 0.172 350.9);
Tailwind
colors: {
  custom: {
    50: '#c8739c',
    500: '#ab3074',
    950: '#000000',
  },
}
SCSS
$custom: #ab3074;
$custom-light: #c8739c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3074",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 326.829,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51637,
    "c": 0.17152,
    "h": 350.9
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#AB3074
secondary
#74C397
accent
#DF8C48
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3074

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

Preview Lab → · Contrast checker → · Palette generator →

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