#A0187F#A0187F

#A0187F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.194 H 340.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A0187F
RGBrgb(160, 24, 127)
HSLhsl(315, 74%, 36%)
HSVhsv(315, 85%, 63%)
CMYKcmyk(0%, 85%, 20.6%, 37.3%)
CIE-LABlab(37.23, 61.15, -23.70)
CIE-LCHlch(37.23, 65.58, 338.81°)
OKLaboklab(48.48% 0.1835 -0.064)
OKLCHoklch(48.48% 0.194 340.8)
XYZxyz(18.6552, 9.6611, 20.9569)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0187F #18A039
analogous
#7D18A0 #A0187F #A0183B
triadic
#A0187F #7FA018 #187FA0
tetradic
#A0187F #A07D18 #18A039 #183BA0
square
#A0187F #A07D18 #18A039 #183BA0
split-complementary
#A0187F #3BA018 #18A07D
monochromatic
#36082B #6B1055 #A0187F #D520A9 #E44EC0

Accessibility & contrast

On white

7.16
#A0187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A0187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0187F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0187F#FFFFFF#000000##FFFFFF
##A0187F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A82
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#AA1D4C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a0187f;
/* rgb */ color: rgb(160, 24, 127);
/* oklch */ color: oklch(48.5% 0.194 340.8);
Tailwind
colors: {
  custom: {
    50: '#c069a4',
    500: '#a0187f',
    950: '#000000',
  },
}
SCSS
$custom: #a0187f;
$custom-light: #c069a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a0187f",
  "rgb": {
    "r": 160,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 314.559,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4848,
    "c": 0.19432,
    "h": 340.8
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#A0187F
secondary
#4DC66B
accent
#F16437
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A0187F

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

Preview Lab → · Contrast checker → · Palette generator →

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