#AB3462#AB3462

#AB3462 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.159 H 0.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB3462
RGBrgb(171, 52, 98)
HSLhsl(337, 53%, 44%)
HSVhsv(337, 70%, 67%)
CMYKcmyk(0%, 69.6%, 42.7%, 32.9%)
CIE-LABlab(41.21, 51.91, 0.66)
CIE-LCHlch(41.21, 51.92, 0.73°)
OKLaboklab(51.4% 0.159 0.0023)
OKLCHoklch(51.4% 0.159 0.8)
XYZxyz(20.2286, 11.9983, 12.8036)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3462 #34AB7D
analogous
#AB349D #AB3462 #AB4234
triadic
#AB3462 #62AB34 #3462AB
tetradic
#AB3462 #9DAB34 #34AB7D #4234AB
square
#AB3462 #9DAB34 #34AB7D #4234AB
split-complementary
#AB3462 #34AB42 #349DAB
monochromatic
#4D172C #7C2647 #AB3462 #CA5280 #D981A3

Accessibility & contrast

On white

6.18
#AB3462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB3462 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3462
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3462#FFFFFF#000000##FFFFFF
##AB34621.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5363
Deuteranopia (green-blind)
#6C6A5F
Tritanopia (blue-blind)
#B92447
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3462;
/* rgb */ color: rgb(171, 52, 98);
/* oklch */ color: oklch(51.4% 0.159 0.8);
Tailwind
colors: {
  custom: {
    50: '#c9748e',
    500: '#ab3462',
    950: '#000000',
  },
}
SCSS
$custom: #ab3462;
$custom-light: #c9748e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3462",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 98
  },
  "hsl": {
    "h": 336.807,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.15901,
    "h": 0.8
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#AB3462
secondary
#79C2A6
accent
#DDA44B
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D

Preview Lab

Preview with #AB3462

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

Preview Lab → · Contrast checker → · Palette generator →

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