#A02187#A02187

#A02187 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.192 H 337.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A02187
RGBrgb(160, 33, 135)
HSLhsl(312, 66%, 38%)
HSVhsv(312, 79%, 63%)
CMYKcmyk(0%, 79.4%, 15.6%, 37.3%)
CIE-LABlab(38.40, 59.99, -26.83)
CIE-LCHlch(38.40, 65.72, 335.90°)
OKLaboklab(49.45% 0.1775 -0.073)
OKLCHoklch(49.45% 0.192 337.7)
XYZxyz(19.4147, 10.3124, 23.8850)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02187 #21A03A
analogous
#7921A0 #A02187 #A02147
triadic
#A02187 #87A021 #2187A0
tetradic
#A02187 #A07921 #21A03A #2147A0
square
#A02187 #A07921 #21A03A #2147A0
split-complementary
#A02187 #47A021 #21A079
monochromatic
#3B0C31 #6D175C #A02187 #D32BB2 #DE5EC5

Accessibility & contrast

On white

6.86
#A02187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A02187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02187
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02187#FFFFFF#000000##FFFFFF
##A021871.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#536184
Tritanopia (blue-blind)
#A92953
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a02187;
/* rgb */ color: rgb(160, 33, 135);
/* oklch */ color: oklch(49.4% 0.192 337.7);
Tailwind
colors: {
  custom: {
    50: '#c06caa',
    500: '#a02187',
    950: '#000000',
  },
}
SCSS
$custom: #a02187;
$custom-light: #c06caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a02187",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 311.811,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.1919,
    "h": 337.7
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#A02187
secondary
#5BC26F
accent
#E9603F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A02187

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

Preview Lab → · Contrast checker → · Palette generator →

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