#A12282#A12282

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

Color values

HEX#A12282
RGBrgb(161, 34, 130)
HSLhsl(315, 65%, 38%)
HSVhsv(315, 79%, 63%)
CMYKcmyk(0%, 78.9%, 19.3%, 36.9%)
CIE-LABlab(38.44, 59.24, -23.67)
CIE-LCHlch(38.44, 63.80, 338.22°)
OKLaboklab(49.43% 0.177 -0.064)
OKLCHoklch(49.43% 0.188 340.1)
XYZxyz(19.2998, 10.3348, 22.0932)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12282 #22A141
analogous
#8022A1 #A12282 #A12242
triadic
#A12282 #82A122 #2282A1
tetradic
#A12282 #A18022 #22A141 #2242A1
square
#A12282 #A18022 #22A141 #2242A1
split-complementary
#A12282 #42A122 #22A180
monochromatic
#3C0D30 #6E1759 #A12282 #D32DAA #DD60BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12282#FFFFFF#000000##FFFFFF
##A122821.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)
#2C4E85
Deuteranopia (green-blind)
#56627F
Tritanopia (blue-blind)
#AB2750
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12282;
/* rgb */ color: rgb(161, 34, 130);
/* oklch */ color: oklch(49.4% 0.188 340.1);
Tailwind
colors: {
  custom: {
    50: '#c16ca6',
    500: '#a12282',
    950: '#000000',
  },
}
SCSS
$custom: #a12282;
$custom-light: #c16ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12282",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 314.646,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.18822,
    "h": 340.1
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#A12282
secondary
#5DC275
accent
#E86940
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A12282

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

Preview Lab → · Contrast checker → · Palette generator →

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