#AB304F#AB304F

#AB304F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.159 H 10.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AB304F
RGBrgb(171, 48, 79)
HSLhsl(345, 56%, 43%)
HSVhsv(345, 72%, 67%)
CMYKcmyk(0%, 71.9%, 53.8%, 32.9%)
CIE-LABlab(40.15, 51.70, 11.09)
CIE-LCHlch(40.15, 52.87, 12.11°)
OKLaboklab(50.44% 0.1568 0.0282)
OKLCHoklch(50.44% 0.159 10.2)
XYZxyz(19.2646, 11.3390, 8.5698)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB304F #30AB8C
analogous
#AB308C #AB304F #AB4E30
triadic
#AB304F #4FAB30 #304FAB
tetradic
#AB304F #8CAB30 #30AB8C #4E30AB
square
#AB304F #8CAB30 #30AB8C #4E30AB
split-complementary
#AB304F #30AB4E #308CAB
monochromatic
#4B1523 #7B2339 #AB304F #CD4C6C #DA7B93

Accessibility & contrast

On white

6.43
#AB304F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB304F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB304F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB304F#FFFFFF#000000##FFFFFF
##AB304F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F50
Deuteranopia (green-blind)
#6E684C
Tritanopia (blue-blind)
#BB143D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab304f;
/* rgb */ color: rgb(171, 48, 79);
/* oklch */ color: oklch(50.4% 0.159 10.2);
Tailwind
colors: {
  custom: {
    50: '#ca7280',
    500: '#ab304f',
    950: '#000000',
  },
}
SCSS
$custom: #ab304f;
$custom-light: #ca7280;
$custom-dark: #000000;
JSON
{
  "hex": "#ab304f",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 344.878,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.15931,
    "h": 10.2
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#AB304F
secondary
#74C3AF
accent
#DFB948
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB304F

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

Preview Lab → · Contrast checker → · Palette generator →

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