#A64271#A64271

#A64271 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 52.8% C 0.141 H 353.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A64271
RGBrgb(166, 66, 113)
HSLhsl(332, 43%, 45%)
HSVhsv(332, 60%, 65%)
CMYKcmyk(0%, 60.2%, 31.9%, 34.9%)
CIE-LABlab(43.06, 46.04, -6.03)
CIE-LCHlch(43.06, 46.44, 352.53°)
OKLaboklab(52.76% 0.1401 -0.0154)
OKLCHoklch(52.76% 0.141 353.7)
XYZxyz(20.6557, 13.1978, 17.0792)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64271 #42A677
analogous
#A642A3 #A64271 #A64542
triadic
#A64271 #71A642 #4271A6
tetradic
#A64271 #A3A642 #42A677 #4542A6
square
#A64271 #A3A642 #42A677 #4542A6
split-complementary
#A64271 #42A645 #42A3A6
monochromatic
#4E1F35 #7A3153 #A64271 #C16490 #D390AF

Accessibility & contrast

On white

5.77
#A64271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A64271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64271
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64271#FFFFFF#000000##FFFFFF
##A642711.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#6C6C6F
Tritanopia (blue-blind)
#B23C54
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a64271;
/* rgb */ color: rgb(166, 66, 113);
/* oklch */ color: oklch(52.8% 0.141 353.7);
Tailwind
colors: {
  custom: {
    50: '#c47b99',
    500: '#a64271',
    950: '#000000',
  },
}
SCSS
$custom: #a64271;
$custom-light: #c47b99;
$custom-dark: #000000;
JSON
{
  "hex": "#a64271",
  "rgb": {
    "r": 166,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 331.8,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52759,
    "c": 0.14093,
    "h": 353.7
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#A64271
secondary
#86BEA4
accent
#D39855
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A64271

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

Preview Lab → · Contrast checker → · Palette generator →

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