#A02271#A02271

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

Color values

HEX#A02271
RGBrgb(160, 34, 113)
HSLhsl(322, 65%, 38%)
HSVhsv(322, 79%, 63%)
CMYKcmyk(0%, 78.8%, 29.4%, 37.3%)
CIE-LABlab(37.50, 56.79, -14.52)
CIE-LCHlch(37.50, 58.61, 345.66°)
OKLaboklab(48.48% 0.1731 -0.0383)
OKLCHoklch(48.48% 0.177 347.5)
XYZxyz(18.0508, 9.8120, 16.5629)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02271 #22A051
analogous
#9022A0 #A02271 #A02232
triadic
#A02271 #71A022 #2271A0
tetradic
#A02271 #A09022 #22A051 #2232A0
square
#A02271 #A09022 #22A051 #2232A0
split-complementary
#A02271 #32A022 #22A090
monochromatic
#3B0D2A #6E174D #A02271 #D22D95 #DD5FAE

Accessibility & contrast

On white

7.09
#A02271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A02271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02271
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02271#FFFFFF#000000##FFFFFF
##A022711.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#AC1C47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a02271;
/* rgb */ color: rgb(160, 34, 113);
/* oklch */ color: oklch(48.5% 0.177 347.5);
Tailwind
colors: {
  custom: {
    50: '#c06b9a',
    500: '#a02271',
    950: '#000000',
  },
}
SCSS
$custom: #a02271;
$custom-light: #c06b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a02271",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 322.381,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48476,
    "c": 0.17733,
    "h": 347.5
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#A02271
secondary
#5CC282
accent
#E87F40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A02271

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

Preview Lab → · Contrast checker → · Palette generator →

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