#A1177B#A1177B

#A1177B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.193 H 342.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A1177B
RGBrgb(161, 23, 123)
HSLhsl(317, 75%, 36%)
HSVhsv(317, 86%, 63%)
CMYKcmyk(0%, 85.7%, 23.6%, 36.9%)
CIE-LABlab(37.16, 61.07, -21.31)
CIE-LCHlch(37.16, 64.68, 340.77°)
OKLaboklab(48.4% 0.1845 -0.0572)
OKLCHoklch(48.4% 0.193 342.8)
XYZxyz(18.5802, 9.6220, 19.6138)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1177B #17A13D
analogous
#8217A1 #A1177B #A11736
triadic
#A1177B #7BA117 #177BA1
tetradic
#A1177B #A18217 #17A13D #1736A1
square
#A1177B #A18217 #17A13D #1736A1
split-complementary
#A1177B #36A117 #17A182
monochromatic
#360829 #6B0F52 #A1177B #D71FA4 #E64DBC

Accessibility & contrast

On white

7.18
#A1177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A1177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1177B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1177B#FFFFFF#000000##FFFFFF
##A1177B1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#AC184A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a1177b;
/* rgb */ color: rgb(161, 23, 123);
/* oklch */ color: oklch(48.4% 0.193 342.8);
Tailwind
colors: {
  custom: {
    50: '#c168a1',
    500: '#a1177b',
    950: '#000000',
  },
}
SCSS
$custom: #a1177b;
$custom-light: #c168a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1177b",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 316.522,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.19317,
    "h": 342.8
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#A1177B
secondary
#4CC76E
accent
#F26A36
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #A1177B

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

Preview Lab → · Contrast checker → · Palette generator →

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