#A02186#A02186

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

Color values

HEX#A02186
RGBrgb(160, 33, 134)
HSLhsl(312, 66%, 38%)
HSVhsv(312, 79%, 63%)
CMYKcmyk(0%, 79.4%, 16.2%, 37.3%)
CIE-LABlab(38.35, 59.85, -26.29)
CIE-LCHlch(38.35, 65.37, 336.29°)
OKLaboklab(49.4% 0.1774 -0.0714)
OKLCHoklch(49.4% 0.191 338.1)
XYZxyz(19.3446, 10.2844, 23.5159)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02186 #21A03B
analogous
#7A21A0 #A02186 #A02147
triadic
#A02186 #86A021 #2186A0
tetradic
#A02186 #A07A21 #21A03B #2147A0
square
#A02186 #A07A21 #21A03B #2147A0
split-complementary
#A02186 #47A021 #21A07A
monochromatic
#3B0C31 #6D175C #A02186 #D32BB0 #DE5EC4

Accessibility & contrast

On white

6.87
#A02186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02186
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02186#FFFFFF#000000##FFFFFF
##A021861.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#546183
Tritanopia (blue-blind)
#A92952
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a02186;
/* rgb */ color: rgb(160, 33, 134);
/* oklch */ color: oklch(49.4% 0.191 338.1);
Tailwind
colors: {
  custom: {
    50: '#c06ca9',
    500: '#a02186',
    950: '#000000',
  },
}
SCSS
$custom: #a02186;
$custom-light: #c06ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02186",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 312.283,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.19123,
    "h": 338.1
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#A02186
secondary
#5BC270
accent
#E9623F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A02186

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

Preview Lab → · Contrast checker → · Palette generator →

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