#A0157C#A0157C

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

Color values

HEX#A0157C
RGBrgb(160, 21, 124)
HSLhsl(316, 77%, 35%)
HSVhsv(316, 87%, 63%)
CMYKcmyk(0%, 86.9%, 22.5%, 37.3%)
CIE-LABlab(36.87, 61.38, -22.39)
CIE-LCHlch(36.87, 65.34, 339.96°)
OKLaboklab(48.18% 0.185 -0.0603)
OKLCHoklch(48.18% 0.195 342)
XYZxyz(18.4042, 9.4672, 19.9230)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0157C #15A039
analogous
#7F15A0 #A0157C #A01536
triadic
#A0157C #7CA015 #157CA0
tetradic
#A0157C #A07F15 #15A039 #1536A0
square
#A0157C #A07F15 #15A039 #1536A0
split-complementary
#A0157C #36A015 #15A07F
monochromatic
#340728 #6A0E52 #A0157C #D61CA6 #E748BE

Accessibility & contrast

On white

7.26
#A0157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A0157C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0157C#FFFFFF#000000##FFFFFF
##A0157C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#AB184A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a0157c;
/* rgb */ color: rgb(160, 21, 124);
/* oklch */ color: oklch(48.2% 0.195 342.0);
Tailwind
colors: {
  custom: {
    50: '#c168a2',
    500: '#a0157c',
    950: '#000000',
  },
}
SCSS
$custom: #a0157c;
$custom-light: #c168a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a0157c",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 315.54,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48176,
    "c": 0.1946,
    "h": 342
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#A0157C
secondary
#49C86A
accent
#F36634
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A0157C

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

Preview Lab → · Contrast checker → · Palette generator →

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