#A11F8A#A11F8A

#A11F8A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.6% C 0.196 H 336.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A11F8A
RGBrgb(161, 31, 138)
HSLhsl(311, 68%, 38%)
HSVhsv(311, 81%, 63%)
CMYKcmyk(0%, 80.7%, 14.3%, 36.9%)
CIE-LABlab(38.54, 61.19, -28.44)
CIE-LCHlch(38.54, 67.48, 335.07°)
OKLaboklab(49.63% 0.1803 -0.0775)
OKLCHoklch(49.63% 0.196 336.7)
XYZxyz(19.7758, 10.3939, 25.0046)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11F8A #1FA136
analogous
#771FA1 #A11F8A #A11F49
triadic
#A11F8A #8AA11F #1F8AA1
tetradic
#A11F8A #A1771F #1FA136 #1F49A1
square
#A11F8A #A1771F #1FA136 #1F49A1
split-complementary
#A11F8A #49A11F #1FA177
monochromatic
#3A0B32 #6E155E #A11F8A #D429B6 #DF5BC8

Accessibility & contrast

On white

6.82
#A11F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A11F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A11F8A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11F8A#FFFFFF#000000##FFFFFF
##A11F8A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8D
Deuteranopia (green-blind)
#526287
Tritanopia (blue-blind)
#AA2954
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a11f8a;
/* rgb */ color: rgb(161, 31, 138);
/* oklch */ color: oklch(49.6% 0.196 336.7);
Tailwind
colors: {
  custom: {
    50: '#c16bac',
    500: '#a11f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a11f8a;
$custom-light: #c16bac;
$custom-dark: #000000;
JSON
{
  "hex": "#a11f8a",
  "rgb": {
    "r": 161,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 310.615,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.1963,
    "h": 336.7
  },
  "luminance": 0.10392
}

Semantic roles & 50–950 ramp

primary
#A11F8A
secondary
#58C46B
accent
#EB5C3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A11F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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