#A0157E#A0157E

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

Color values

HEX#A0157E
RGBrgb(160, 21, 126)
HSLhsl(315, 77%, 35%)
HSVhsv(315, 87%, 63%)
CMYKcmyk(0%, 86.9%, 21.2%, 37.3%)
CIE-LABlab(36.96, 61.64, -23.49)
CIE-LCHlch(36.96, 65.97, 339.14°)
OKLaboklab(48.28% 0.1853 -0.0634)
OKLCHoklch(48.28% 0.196 341.1)
XYZxyz(18.5319, 9.5183, 20.5959)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0157E #15A037
analogous
#7C15A0 #A0157E #A01539
triadic
#A0157E #7EA015 #157EA0
tetradic
#A0157E #A07C15 #15A037 #1539A0
square
#A0157E #A07C15 #15A037 #1539A0
split-complementary
#A0157E #39A015 #15A07C
monochromatic
#340729 #6A0E53 #A0157E #D61CA9 #E748C0

Accessibility & contrast

On white

7.23
#A0157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A0157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0157E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0157E#FFFFFF#000000##FFFFFF
##A0157E1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#AA1A4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a0157e;
/* rgb */ color: rgb(160, 21, 126);
/* oklch */ color: oklch(48.3% 0.196 341.1);
Tailwind
colors: {
  custom: {
    50: '#c068a3',
    500: '#a0157e',
    950: '#000000',
  },
}
SCSS
$custom: #a0157e;
$custom-light: #c068a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a0157e",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 314.676,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48275,
    "c": 0.19582,
    "h": 341.1
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#A0157E
secondary
#49C868
accent
#F36334
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A0157E

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

Preview Lab → · Contrast checker → · Palette generator →

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