#A01772#A01772

#A01772 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.187 H 346.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#A01772
RGBrgb(160, 23, 114)
HSLhsl(320, 75%, 36%)
HSVhsv(320, 86%, 63%)
CMYKcmyk(0%, 85.6%, 28.8%, 37.3%)
CIE-LABlab(36.56, 59.73, -16.59)
CIE-LCHlch(36.56, 61.99, 344.48°)
OKLaboklab(47.81% 0.1822 -0.044)
OKLCHoklch(47.81% 0.187 346.4)
XYZxyz(17.8418, 9.3034, 16.7725)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01772 #17A045
analogous
#8917A0 #A01772 #A0172D
triadic
#A01772 #72A017 #1772A0
tetradic
#A01772 #A08917 #17A045 #172DA0
square
#A01772 #A08917 #17A045 #172DA0
split-complementary
#A01772 #2DA017 #17A089
monochromatic
#350826 #6A0F4C #A01772 #D61F98 #E54CB2

Accessibility & contrast

On white

7.34
#A01772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A01772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01772
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01772#FFFFFF#000000##FFFFFF
##A017721.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4774
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#AC1045
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a01772;
/* rgb */ color: rgb(160, 23, 114);
/* oklch */ color: oklch(47.8% 0.187 346.4);
Tailwind
colors: {
  custom: {
    50: '#c1689a',
    500: '#a01772',
    950: '#000000',
  },
}
SCSS
$custom: #a01772;
$custom-light: #c1689a;
$custom-dark: #000000;
JSON
{
  "hex": "#a01772",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 320.146,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47808,
    "c": 0.1874,
    "h": 346.4
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#A01772
secondary
#4CC775
accent
#F17536
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #A01772

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

Preview Lab → · Contrast checker → · Palette generator →

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