#AB3062#AB3062

#AB3062 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.164 H 0.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB3062
RGBrgb(171, 48, 98)
HSLhsl(336, 56%, 43%)
HSVhsv(336, 72%, 67%)
CMYKcmyk(0%, 71.9%, 42.7%, 32.9%)
CIE-LABlab(40.66, 53.44, -0.14)
CIE-LCHlch(40.66, 53.44, 359.85°)
OKLaboklab(50.99% 0.1638 0.0003)
OKLCHoklch(50.99% 0.164 0.1)
XYZxyz(20.0576, 11.6562, 12.7465)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3062 #30AB79
analogous
#AB309F #AB3062 #AB3C30
triadic
#AB3062 #62AB30 #3062AB
tetradic
#AB3062 #9FAB30 #30AB79 #3C30AB
square
#AB3062 #9FAB30 #30AB79 #3C30AB
split-complementary
#AB3062 #30AB3C #309FAB
monochromatic
#4B152B #7B2347 #AB3062 #CD4C80 #DA7BA2

Accessibility & contrast

On white

6.30
#AB3062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB3062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3062
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3062#FFFFFF#000000##FFFFFF
##AB30621.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#B91F45
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3062;
/* rgb */ color: rgb(171, 48, 98);
/* oklch */ color: oklch(51.0% 0.164 0.1);
Tailwind
colors: {
  custom: {
    50: '#c9728e',
    500: '#ab3062',
    950: '#000000',
  },
}
SCSS
$custom: #ab3062;
$custom-light: #c9728e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3062",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 98
  },
  "hsl": {
    "h": 335.61,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50991,
    "c": 0.16383,
    "h": 0.1
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#AB3062
secondary
#74C3A3
accent
#DFA248
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AB3062

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

Preview Lab → · Contrast checker → · Palette generator →

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