#A02188#A02188

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

Color values

HEX#A02188
RGBrgb(160, 33, 136)
HSLhsl(311, 66%, 38%)
HSVhsv(311, 79%, 63%)
CMYKcmyk(0%, 79.4%, 15%, 37.3%)
CIE-LABlab(38.45, 60.14, -27.37)
CIE-LCHlch(38.45, 66.07, 335.53°)
OKLaboklab(49.5% 0.1776 -0.0745)
OKLCHoklch(49.5% 0.193 337.2)
XYZxyz(19.4854, 10.3407, 24.2575)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02188 #21A039
analogous
#7921A0 #A02188 #A02148
triadic
#A02188 #88A021 #2188A0
tetradic
#A02188 #A07921 #21A039 #2148A0
square
#A02188 #A07921 #21A039 #2148A0
split-complementary
#A02188 #48A021 #21A079
monochromatic
#3B0C32 #6D175D #A02188 #D32BB3 #DE5EC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02188#FFFFFF#000000##FFFFFF
##A021881.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)
#264E8B
Deuteranopia (green-blind)
#536185
Tritanopia (blue-blind)
#A92A53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a02188;
/* rgb */ color: rgb(160, 33, 136);
/* oklch */ color: oklch(49.5% 0.193 337.2);
Tailwind
colors: {
  custom: {
    50: '#c06cab',
    500: '#a02188',
    950: '#000000',
  },
}
SCSS
$custom: #a02188;
$custom-light: #c06cab;
$custom-dark: #000000;
JSON
{
  "hex": "#a02188",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 311.339,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49499,
    "c": 0.19258,
    "h": 337.2
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#A02188
secondary
#5BC26E
accent
#E95F3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A02188

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

Preview Lab → · Contrast checker → · Palette generator →

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