#AB307B#AB307B

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

Color values

HEX#AB307B
RGBrgb(171, 48, 123)
HSLhsl(323, 56%, 43%)
HSVhsv(323, 72%, 67%)
CMYKcmyk(0%, 71.9%, 28.1%, 32.9%)
CIE-LABlab(41.54, 56.30, -14.41)
CIE-LCHlch(41.54, 58.11, 345.64°)
OKLaboklab(51.92% 0.1711 -0.038)
OKLCHoklch(51.92% 0.175 347.5)
XYZxyz(21.4277, 12.2042, 19.9623)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB307B #30AB60
analogous
#9D30AB #AB307B #AB303D
triadic
#AB307B #7BAB30 #307BAB
tetradic
#AB307B #AB9D30 #30AB60 #303DAB
square
#AB307B #AB9D30 #30AB60 #303DAB
split-complementary
#AB307B #3DAB30 #30AB9D
monochromatic
#4B1536 #7B2359 #AB307B #CD4C9A #DA7BB5

Accessibility & contrast

On white

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

On black

3.44
#AB307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB307B#FFFFFF#000000##FFFFFF
##AB307B1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547D
Deuteranopia (green-blind)
#656A78
Tritanopia (blue-blind)
#B72C51
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab307b;
/* rgb */ color: rgb(171, 48, 123);
/* oklch */ color: oklch(51.9% 0.175 347.5);
Tailwind
colors: {
  custom: {
    50: '#c873a1',
    500: '#ab307b',
    950: '#000000',
  },
}
SCSS
$custom: #ab307b;
$custom-light: #c873a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab307b",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 323.415,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.17528,
    "h": 347.5
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#AB307B
secondary
#74C393
accent
#DF8348
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AB307B

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

Preview Lab → · Contrast checker → · Palette generator →

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