#A0187B#A0187B

#A0187B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.192 H 342.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A0187B
RGBrgb(160, 24, 123)
HSLhsl(316, 74%, 36%)
HSVhsv(316, 85%, 63%)
CMYKcmyk(0%, 85%, 23.1%, 37.3%)
CIE-LABlab(37.04, 60.63, -21.50)
CIE-LCHlch(37.04, 64.33, 340.47°)
OKLaboklab(48.28% 0.183 -0.0578)
OKLCHoklch(48.28% 0.192 342.5)
XYZxyz(18.3997, 9.5589, 19.6111)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0187B #18A03D
analogous
#8118A0 #A0187B #A01837
triadic
#A0187B #7BA018 #187BA0
tetradic
#A0187B #A08118 #18A03D #1837A0
square
#A0187B #A08118 #18A03D #1837A0
split-complementary
#A0187B #37A018 #18A081
monochromatic
#360829 #6B1052 #A0187B #D520A4 #E44EBC

Accessibility & contrast

On white

7.21
#A0187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A0187B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0187B#FFFFFF#000000##FFFFFF
##A0187B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#555F78
Tritanopia (blue-blind)
#AB1A4A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a0187b;
/* rgb */ color: rgb(160, 24, 123);
/* oklch */ color: oklch(48.3% 0.192 342.5);
Tailwind
colors: {
  custom: {
    50: '#c068a1',
    500: '#a0187b',
    950: '#000000',
  },
}
SCSS
$custom: #a0187b;
$custom-light: #c068a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a0187b",
  "rgb": {
    "r": 160,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 316.324,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48283,
    "c": 0.19187,
    "h": 342.5
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#A0187B
secondary
#4DC66E
accent
#F16A37
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #A0187B

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

Preview Lab → · Contrast checker → · Palette generator →

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