#A0157F#A0157F

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

Color values

HEX#A0157F
RGBrgb(160, 21, 127)
HSLhsl(314, 77%, 35%)
HSVhsv(314, 87%, 63%)
CMYKcmyk(0%, 86.9%, 20.6%, 37.3%)
CIE-LABlab(37.01, 61.77, -24.04)
CIE-LCHlch(37.01, 66.28, 338.74°)
OKLaboklab(48.33% 0.1854 -0.0649)
OKLCHoklch(48.33% 0.196 340.7)
XYZxyz(18.5968, 9.5442, 20.9374)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0157F #15A036
analogous
#7C15A0 #A0157F #A01539
triadic
#A0157F #7FA015 #157FA0
tetradic
#A0157F #A07C15 #15A036 #1539A0
square
#A0157F #A07C15 #15A036 #1539A0
split-complementary
#A0157F #39A015 #15A07C
monochromatic
#340729 #6A0E54 #A0157F #D61CAA #E748C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0157F#FFFFFF#000000##FFFFFF
##A0157F1.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)
#244982
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#AA1B4C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a0157f;
/* rgb */ color: rgb(160, 21, 127);
/* oklch */ color: oklch(48.3% 0.196 340.7);
Tailwind
colors: {
  custom: {
    50: '#c068a4',
    500: '#a0157f',
    950: '#000000',
  },
}
SCSS
$custom: #a0157f;
$custom-light: #c068a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a0157f",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 314.245,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48325,
    "c": 0.19643,
    "h": 340.7
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#A0157F
secondary
#49C867
accent
#F36234
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A0157F

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

Preview Lab → · Contrast checker → · Palette generator →

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