#A12187#A12187

#A12187 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.6% C 0.192 H 338.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A12187
RGBrgb(161, 33, 135)
HSLhsl(312, 66%, 38%)
HSVhsv(312, 80%, 63%)
CMYKcmyk(0%, 79.5%, 16.1%, 36.9%)
CIE-LABlab(38.58, 60.22, -26.53)
CIE-LCHlch(38.58, 65.81, 336.22°)
OKLaboklab(49.61% 0.1785 -0.0721)
OKLCHoklch(49.61% 0.192 338)
XYZxyz(19.6154, 10.4160, 23.8944)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12187 #21A13B
analogous
#7B21A1 #A12187 #A12147
triadic
#A12187 #87A121 #2187A1
tetradic
#A12187 #A17B21 #21A13B #2147A1
square
#A12187 #A17B21 #21A13B #2147A1
split-complementary
#A12187 #47A121 #21A17B
monochromatic
#3B0C32 #6E175C #A12187 #D42CB2 #DE5EC4

Accessibility & contrast

On white

6.81
#A12187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A12187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12187
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12187#FFFFFF#000000##FFFFFF
##A121871.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12187;
/* rgb */ color: rgb(161, 33, 135);
/* oklch */ color: oklch(49.6% 0.192 338.0);
Tailwind
colors: {
  custom: {
    50: '#c16caa',
    500: '#a12187',
    950: '#000000',
  },
}
SCSS
$custom: #a12187;
$custom-light: #c16caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a12187",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 312.188,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49611,
    "c": 0.19247,
    "h": 338
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#A12187
secondary
#5BC370
accent
#E9613F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A12187

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

Preview Lab → · Contrast checker → · Palette generator →

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