#AB3261#AB3261

#AB3261 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.161 H 1.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB3261
RGBrgb(171, 50, 97)
HSLhsl(337, 55%, 43%)
HSVhsv(337, 71%, 67%)
CMYKcmyk(0%, 70.8%, 43.3%, 32.9%)
CIE-LABlab(40.90, 52.59, 0.84)
CIE-LCHlch(40.90, 52.59, 0.91°)
OKLaboklab(51.16% 0.1611 0.0028)
OKLCHoklch(51.16% 0.161 1)
XYZxyz(20.0943, 11.8047, 12.5273)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3261 #32AB7C
analogous
#AB329D #AB3261 #AB3F32
triadic
#AB3261 #61AB32 #3261AB
tetradic
#AB3261 #9DAB32 #32AB7C #3F32AB
square
#AB3261 #9DAB32 #32AB7C #3F32AB
split-complementary
#AB3261 #32AB3F #329DAB
monochromatic
#4C162B #7C2446 #AB3261 #CB4F7F #D97EA2

Accessibility & contrast

On white

6.25
#AB3261 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB3261 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3261
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3261#FFFFFF#000000##FFFFFF
##AB32611.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5262
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#B92145
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3261;
/* rgb */ color: rgb(171, 50, 97);
/* oklch */ color: oklch(51.2% 0.161 1.0);
Tailwind
colors: {
  custom: {
    50: '#c9738d',
    500: '#ab3261',
    950: '#000000',
  },
}
SCSS
$custom: #ab3261;
$custom-light: #c9738d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3261",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 336.694,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.16112,
    "h": 1
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#AB3261
secondary
#77C2A5
accent
#DEA44A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D

Preview Lab

Preview with #AB3261

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

Preview Lab → · Contrast checker → · Palette generator →

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