#AB307C#AB307C

#AB307C is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.176 H 347.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB307C
RGBrgb(171, 48, 124)
HSLhsl(323, 56%, 43%)
HSVhsv(323, 72%, 67%)
CMYKcmyk(0%, 71.9%, 27.5%, 32.9%)
CIE-LABlab(41.58, 56.42, -14.97)
CIE-LCHlch(41.58, 58.38, 345.14°)
OKLaboklab(51.96% 0.1713 -0.0395)
OKLCHoklch(51.96% 0.176 347)
XYZxyz(21.4906, 12.2294, 20.2936)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB307C #30AB5F
analogous
#9C30AB #AB307C #AB303E
triadic
#AB307C #7CAB30 #307CAB
tetradic
#AB307C #AB9C30 #30AB5F #303EAB
square
#AB307C #AB9C30 #30AB5F #303EAB
split-complementary
#AB307C #3EAB30 #30AB9C
monochromatic
#4B1537 #7B2359 #AB307C #CD4C9B #DA7BB6

Accessibility & contrast

On white

6.10
#AB307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB307C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB307C#FFFFFF#000000##FFFFFF
##AB307C1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557E
Deuteranopia (green-blind)
#656A79
Tritanopia (blue-blind)
#B72C52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab307c;
/* rgb */ color: rgb(171, 48, 124);
/* oklch */ color: oklch(52.0% 0.176 347.0);
Tailwind
colors: {
  custom: {
    50: '#c873a2',
    500: '#ab307c',
    950: '#000000',
  },
}
SCSS
$custom: #ab307c;
$custom-light: #c873a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab307c",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 322.927,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.17584,
    "h": 347
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#AB307C
secondary
#74C392
accent
#DF8248
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AB307C

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

Preview Lab → · Contrast checker → · Palette generator →

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