#A02286#A02286

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

Color values

HEX#A02286
RGBrgb(160, 34, 134)
HSLhsl(312, 65%, 38%)
HSVhsv(312, 79%, 63%)
CMYKcmyk(0%, 78.8%, 16.2%, 37.3%)
CIE-LABlab(38.45, 59.57, -26.14)
CIE-LCHlch(38.45, 65.05, 336.31°)
OKLaboklab(49.47% 0.1765 -0.071)
OKLCHoklch(49.47% 0.19 338.1)
XYZxyz(19.3728, 10.3408, 23.5253)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02286 #22A03C
analogous
#7B22A0 #A02286 #A02247
triadic
#A02286 #86A022 #2286A0
tetradic
#A02286 #A07B22 #22A03C #2247A0
square
#A02286 #A07B22 #22A03C #2247A0
split-complementary
#A02286 #47A022 #22A07B
monochromatic
#3B0D31 #6E175C #A02286 #D22DB0 #DD5FC3

Accessibility & contrast

On white

6.85
#A02286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A02286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02286
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02286#FFFFFF#000000##FFFFFF
##A022861.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02286;
/* rgb */ color: rgb(160, 34, 134);
/* oklch */ color: oklch(49.5% 0.190 338.1);
Tailwind
colors: {
  custom: {
    50: '#c06ca9',
    500: '#a02286',
    950: '#000000',
  },
}
SCSS
$custom: #a02286;
$custom-light: #c06ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02286",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 312.381,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49467,
    "c": 0.19027,
    "h": 338.1
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#A02286
secondary
#5CC271
accent
#E86340
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A02286

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

Preview Lab → · Contrast checker → · Palette generator →

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