#A0157B#A0157B

#A0157B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.194 H 342.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A0157B
RGBrgb(160, 21, 123)
HSLhsl(316, 77%, 35%)
HSVhsv(316, 87%, 63%)
CMYKcmyk(0%, 86.9%, 23.1%, 37.3%)
CIE-LABlab(36.82, 61.25, -21.84)
CIE-LCHlch(36.82, 65.03, 340.38°)
OKLaboklab(48.13% 0.1849 -0.0587)
OKLCHoklch(48.13% 0.194 342.4)
XYZxyz(18.3412, 9.4420, 19.5916)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0157B #15A03A
analogous
#7F15A0 #A0157B #A01536
triadic
#A0157B #7BA015 #157BA0
tetradic
#A0157B #A07F15 #15A03A #1536A0
square
#A0157B #A07F15 #15A03A #1536A0
split-complementary
#A0157B #36A015 #15A07F
monochromatic
#340728 #6A0E51 #A0157B #D61CA5 #E748BD

Accessibility & contrast

On white

7.27
#A0157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A0157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0157B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0157B#FFFFFF#000000##FFFFFF
##A0157B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#555E78
Tritanopia (blue-blind)
#AB1749
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a0157b;
/* rgb */ color: rgb(160, 21, 123);
/* oklch */ color: oklch(48.1% 0.194 342.4);
Tailwind
colors: {
  custom: {
    50: '#c168a1',
    500: '#a0157b',
    950: '#000000',
  },
}
SCSS
$custom: #a0157b;
$custom-light: #c168a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a0157b",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 315.971,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48127,
    "c": 0.194,
    "h": 342.4
  },
  "luminance": 0.0944
}

Semantic roles & 50–950 ramp

primary
#A0157B
secondary
#49C86B
accent
#F36734
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #A0157B

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

Preview Lab → · Contrast checker → · Palette generator →

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