#A12072#A12072

#A12072 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.180 H 347.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A12072
RGBrgb(161, 32, 114)
HSLhsl(322, 67%, 38%)
HSVhsv(322, 80%, 63%)
CMYKcmyk(0%, 80.1%, 29.2%, 36.9%)
CIE-LABlab(37.53, 57.73, -15.09)
CIE-LCHlch(37.53, 59.67, 345.36°)
OKLaboklab(48.54% 0.176 -0.0398)
OKLCHoklch(48.54% 0.18 347.2)
XYZxyz(18.2526, 9.8271, 16.8519)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12072 #20A14F
analogous
#8F20A1 #A12072 #A12032
triadic
#A12072 #72A120 #2072A1
tetradic
#A12072 #A18F20 #20A14F #2032A1
square
#A12072 #A18F20 #20A14F #2032A1
split-complementary
#A12072 #32A120 #20A18F
monochromatic
#3B0C2A #6E164E #A12072 #D42A96 #DF5DAF

Accessibility & contrast

On white

7.08
#A12072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A12072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12072
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12072#FFFFFF#000000##FFFFFF
##A120721.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#AD1A47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12072;
/* rgb */ color: rgb(161, 32, 114);
/* oklch */ color: oklch(48.5% 0.180 347.2);
Tailwind
colors: {
  custom: {
    50: '#c16b9a',
    500: '#a12072',
    950: '#000000',
  },
}
SCSS
$custom: #a12072;
$custom-light: #c16b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12072",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 321.86,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.18049,
    "h": 347.2
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#A12072
secondary
#5AC380
accent
#EA7D3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #A12072

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

Preview Lab → · Contrast checker → · Palette generator →

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