#A12182#A12182

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

Color values

HEX#A12182
RGBrgb(161, 33, 130)
HSLhsl(315, 66%, 38%)
HSVhsv(315, 80%, 63%)
CMYKcmyk(0%, 79.5%, 19.3%, 36.9%)
CIE-LABlab(38.34, 59.53, -23.82)
CIE-LCHlch(38.34, 64.12, 338.19°)
OKLaboklab(49.36% 0.1779 -0.0644)
OKLCHoklch(49.36% 0.189 340.1)
XYZxyz(19.2716, 10.2785, 22.0838)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12182 #21A140
analogous
#8021A1 #A12182 #A12142
triadic
#A12182 #82A121 #2182A1
tetradic
#A12182 #A18021 #21A140 #2142A1
square
#A12182 #A18021 #21A140 #2142A1
split-complementary
#A12182 #42A121 #21A180
monochromatic
#3B0C30 #6E1759 #A12182 #D42CAB #DE5EBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12182#FFFFFF#000000##FFFFFF
##A121821.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)
#2B4D85
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#AB2650
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12182;
/* rgb */ color: rgb(161, 33, 130);
/* oklch */ color: oklch(49.4% 0.189 340.1);
Tailwind
colors: {
  custom: {
    50: '#c16ca6',
    500: '#a12182',
    950: '#000000',
  },
}
SCSS
$custom: #a12182;
$custom-light: #c16ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12182",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 314.531,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49359,
    "c": 0.18918,
    "h": 340.1
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#A12182
secondary
#5BC374
accent
#E9683F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A12182

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

Preview Lab → · Contrast checker → · Palette generator →

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