#A1157B#A1157B

#A1157B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.3% C 0.195 H 342.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A1157B
RGBrgb(161, 21, 123)
HSLhsl(316, 77%, 36%)
HSVhsv(316, 87%, 63%)
CMYKcmyk(0%, 87%, 23.6%, 36.9%)
CIE-LABlab(37.01, 61.48, -21.52)
CIE-LCHlch(37.01, 65.14, 340.70°)
OKLaboklab(48.3% 0.1858 -0.0578)
OKLCHoklch(48.3% 0.195 342.7)
XYZxyz(18.5420, 9.5455, 19.6011)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1157B #15A13B
analogous
#8115A1 #A1157B #A11535
triadic
#A1157B #7BA115 #157BA1
tetradic
#A1157B #A18115 #15A13B #1535A1
square
#A1157B #A18115 #15A13B #1535A1
split-complementary
#A1157B #35A115 #15A181
monochromatic
#350728 #6B0E52 #A1157B #D71CA4 #E749BC

Accessibility & contrast

On white

7.22
#A1157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A1157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1157B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1157B#FFFFFF#000000##FFFFFF
##A1157B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#AC1649
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a1157b;
/* rgb */ color: rgb(161, 21, 123);
/* oklch */ color: oklch(48.3% 0.195 342.7);
Tailwind
colors: {
  custom: {
    50: '#c168a1',
    500: '#a1157b',
    950: '#000000',
  },
}
SCSS
$custom: #a1157b;
$custom-light: #c168a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1157b",
  "rgb": {
    "r": 161,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 316.286,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.483,
    "c": 0.19456,
    "h": 342.7
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#A1157B
secondary
#49C86C
accent
#F36834
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #A1157B

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

Preview Lab → · Contrast checker → · Palette generator →

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