#A11F8B#A11F8B

#A11F8B is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.7% C 0.197 H 336.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A11F8B
RGBrgb(161, 31, 139)
HSLhsl(310, 68%, 38%)
HSVhsv(310, 81%, 63%)
CMYKcmyk(0%, 80.7%, 13.7%, 36.9%)
CIE-LABlab(38.59, 61.34, -28.98)
CIE-LCHlch(38.59, 67.84, 334.71°)
OKLaboklab(49.69% 0.1804 -0.0791)
OKLCHoklch(49.69% 0.197 336.3)
XYZxyz(19.8485, 10.4230, 25.3876)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11F8B #1FA135
analogous
#761FA1 #A11F8B #A11F4A
triadic
#A11F8B #8BA11F #1F8BA1
tetradic
#A11F8B #A1761F #1FA135 #1F4AA1
square
#A11F8B #A1761F #1FA135 #1F4AA1
split-complementary
#A11F8B #4AA11F #1FA176
monochromatic
#3A0B32 #6E155F #A11F8B #D429B7 #DF5BC9

Accessibility & contrast

On white

6.81
#A11F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A11F8B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11F8B#FFFFFF#000000##FFFFFF
##A11F8B1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#526288
Tritanopia (blue-blind)
#AA2A54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a11f8b;
/* rgb */ color: rgb(161, 31, 139);
/* oklch */ color: oklch(49.7% 0.197 336.3);
Tailwind
colors: {
  custom: {
    50: '#c16bad',
    500: '#a11f8b',
    950: '#000000',
  },
}
SCSS
$custom: #a11f8b;
$custom-light: #c16bad;
$custom-dark: #000000;
JSON
{
  "hex": "#a11f8b",
  "rgb": {
    "r": 161,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 310.154,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.19698,
    "h": 336.3
  },
  "luminance": 0.10421
}

Semantic roles & 50–950 ramp

primary
#A11F8B
secondary
#58C46A
accent
#EB5B3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A11F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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