#A11787#A11787

#A11787 is a mid, highly saturated pink. Relative luminance 0.099; OKLCH L 49.0% C 0.201 H 337.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A11787
RGBrgb(161, 23, 135)
HSLhsl(311, 75%, 36%)
HSVhsv(311, 86%, 63%)
CMYKcmyk(0%, 85.7%, 16.1%, 36.9%)
CIE-LABlab(37.74, 62.66, -27.85)
CIE-LCHlch(37.74, 68.57, 336.03°)
OKLaboklab(49.01% 0.1858 -0.0758)
OKLCHoklch(49.01% 0.201 337.8)
XYZxyz(19.3780, 9.9411, 23.8153)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11787 #17A131
analogous
#7617A1 #A11787 #A11742
triadic
#A11787 #87A117 #1787A1
tetradic
#A11787 #A17617 #17A131 #1742A1
square
#A11787 #A17617 #17A131 #1742A1
split-complementary
#A11787 #42A117 #17A176
monochromatic
#36082D #6B0F5A #A11787 #D71FB4 #E64DC9

Accessibility & contrast

On white

7.03
#A11787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A11787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A11787
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11787#FFFFFF#000000##FFFFFF
##A117871.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#AA2250
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a11787;
/* rgb */ color: rgb(161, 23, 135);
/* oklch */ color: oklch(49.0% 0.201 337.8);
Tailwind
colors: {
  custom: {
    50: '#c169aa',
    500: '#a11787',
    950: '#000000',
  },
}
SCSS
$custom: #a11787;
$custom-light: #c169aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a11787",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 135
  },
  "hsl": {
    "h": 311.304,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.20065,
    "h": 337.8
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#A11787
secondary
#4CC764
accent
#F25936
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A11787

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

Preview Lab → · Contrast checker → · Palette generator →

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