#AB305E#AB305E

#AB305E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.163 H 2.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB305E
RGBrgb(171, 48, 94)
HSLhsl(338, 56%, 43%)
HSVhsv(338, 72%, 67%)
CMYKcmyk(0%, 71.9%, 45%, 32.9%)
CIE-LABlab(40.54, 53.04, 2.20)
CIE-LCHlch(40.54, 53.08, 2.38°)
OKLaboklab(50.86% 0.1624 0.0063)
OKLCHoklch(50.86% 0.163 2.2)
XYZxyz(19.8734, 11.5825, 11.7766)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB305E #30AB7D
analogous
#AB309B #AB305E #AB4030
triadic
#AB305E #5EAB30 #305EAB
tetradic
#AB305E #9BAB30 #30AB7D #4030AB
square
#AB305E #9BAB30 #30AB7D #4030AB
split-complementary
#AB305E #30AB40 #309BAB
monochromatic
#4B1529 #7B2344 #AB305E #CD4C7C #DA7B9F

Accessibility & contrast

On white

6.33
#AB305E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB305E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB305E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB305E#FFFFFF#000000##FFFFFF
##AB305E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#BA1D43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab305e;
/* rgb */ color: rgb(171, 48, 94);
/* oklch */ color: oklch(50.9% 0.163 2.2);
Tailwind
colors: {
  custom: {
    50: '#c9728b',
    500: '#ab305e',
    950: '#000000',
  },
}
SCSS
$custom: #ab305e;
$custom-light: #c9728b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab305e",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 337.561,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50864,
    "c": 0.16256,
    "h": 2.2
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#AB305E
secondary
#74C3A5
accent
#DFA748
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AB305E

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

Preview Lab → · Contrast checker → · Palette generator →

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