#A12188#A12188

#A12188 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.7% C 0.193 H 337.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A12188
RGBrgb(161, 33, 136)
HSLhsl(312, 66%, 38%)
HSVhsv(312, 80%, 63%)
CMYKcmyk(0%, 79.5%, 15.5%, 36.9%)
CIE-LABlab(38.63, 60.36, -27.07)
CIE-LCHlch(38.63, 66.16, 335.84°)
OKLaboklab(49.66% 0.1785 -0.0736)
OKLCHoklch(49.66% 0.193 337.6)
XYZxyz(19.6862, 10.4443, 24.2669)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12188 #21A13A
analogous
#7A21A1 #A12188 #A12148
triadic
#A12188 #88A121 #2188A1
tetradic
#A12188 #A17A21 #21A13A #2148A1
square
#A12188 #A17A21 #21A13A #2148A1
split-complementary
#A12188 #48A121 #21A17A
monochromatic
#3B0C32 #6E175D #A12188 #D42CB3 #DE5EC5

Accessibility & contrast

On white

6.80
#A12188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A12188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12188
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12188#FFFFFF#000000##FFFFFF
##A121881.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#546285
Tritanopia (blue-blind)
#AA2953
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12188;
/* rgb */ color: rgb(161, 33, 136);
/* oklch */ color: oklch(49.7% 0.193 337.6);
Tailwind
colors: {
  custom: {
    50: '#c16cab',
    500: '#a12188',
    950: '#000000',
  },
}
SCSS
$custom: #a12188;
$custom-light: #c16cab;
$custom-dark: #000000;
JSON
{
  "hex": "#a12188",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 311.719,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.19313,
    "h": 337.6
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12188

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

Preview Lab → · Contrast checker → · Palette generator →

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