#A12082#A12082

#A12082 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.3% C 0.190 H 340.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A12082
RGBrgb(161, 32, 130)
HSLhsl(314, 67%, 38%)
HSVhsv(314, 80%, 63%)
CMYKcmyk(0%, 80.1%, 19.3%, 36.9%)
CIE-LABlab(38.24, 59.80, -23.97)
CIE-LCHlch(38.24, 64.43, 338.16°)
OKLaboklab(49.29% 0.1787 -0.0648)
OKLCHoklch(49.29% 0.19 340.1)
XYZxyz(19.2443, 10.2238, 22.0747)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12082 #20A13F
analogous
#8020A1 #A12082 #A12041
triadic
#A12082 #82A120 #2082A1
tetradic
#A12082 #A18020 #20A13F #2041A1
square
#A12082 #A18020 #20A13F #2041A1
split-complementary
#A12082 #41A120 #20A180
monochromatic
#3B0C30 #6E1659 #A12082 #D42AAB #DF5DBF

Accessibility & contrast

On white

6.90
#A12082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A12082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12082
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12082#FFFFFF#000000##FFFFFF
##A120821.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D85
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#AB2550
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12082;
/* rgb */ color: rgb(161, 32, 130);
/* oklch */ color: oklch(49.3% 0.190 340.1);
Tailwind
colors: {
  custom: {
    50: '#c16ba6',
    500: '#a12082',
    950: '#000000',
  },
}
SCSS
$custom: #a12082;
$custom-light: #c16ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12082",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 314.419,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.19011,
    "h": 340.1
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#A12082
secondary
#5AC373
accent
#EA673E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A12082

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

Preview Lab → · Contrast checker → · Palette generator →

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