#AB366F#AB366F

#AB366F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.162 H 354.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB366F
RGBrgb(171, 54, 111)
HSLhsl(331, 52%, 44%)
HSVhsv(331, 68%, 67%)
CMYKcmyk(0%, 68.4%, 35.1%, 32.9%)
CIE-LABlab(41.92, 52.55, -6.41)
CIE-LCHlch(41.92, 52.94, 353.05°)
OKLaboklab(52.05% 0.1607 -0.0163)
OKLCHoklch(52.05% 0.162 354.2)
XYZxyz(20.9842, 12.4464, 16.3332)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB366F #36AB72
analogous
#AB36AA #AB366F #AB3736
triadic
#AB366F #6FAB36 #366FAB
tetradic
#AB366F #AAAB36 #36AB72 #3736AB
square
#AB366F #AAAB36 #36AB72 #3736AB
split-complementary
#AB366F #36AB37 #36AAAB
monochromatic
#4E1933 #7C2751 #AB366F #C9558E #D883AD

Accessibility & contrast

On white

6.02
#AB366F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB366F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB366F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB366F#FFFFFF#000000##FFFFFF
##AB366F1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6A6B6C
Tritanopia (blue-blind)
#B82D4E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab366f;
/* rgb */ color: rgb(171, 54, 111);
/* oklch */ color: oklch(52.1% 0.162 354.2);
Tailwind
colors: {
  custom: {
    50: '#c87598',
    500: '#ab366f',
    950: '#000000',
  },
}
SCSS
$custom: #ab366f;
$custom-light: #c87598;
$custom-dark: #000000;
JSON
{
  "hex": "#ab366f",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 330.769,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.16155,
    "h": 354.2
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#AB366F
secondary
#7BC29F
accent
#DB964C
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB366F

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

Preview Lab → · Contrast checker → · Palette generator →

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