#A63271#A63271

#A63271 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.163 H 351.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A63271
RGBrgb(166, 50, 113)
HSLhsl(327, 54%, 42%)
HSVhsv(327, 70%, 65%)
CMYKcmyk(0%, 69.9%, 31.9%, 34.9%)
CIE-LABlab(40.55, 52.91, -9.80)
CIE-LCHlch(40.55, 53.81, 349.51°)
OKLaboklab(50.9% 0.1615 -0.0254)
OKLCHoklch(50.9% 0.163 351.1)
XYZxyz(19.8482, 11.5827, 16.8100)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A63271 #32A667
analogous
#A132A6 #A63271 #A63237
triadic
#A63271 #71A632 #3271A6
tetradic
#A63271 #A6A132 #32A667 #3237A6
square
#A63271 #A6A132 #32A667 #3237A6
split-complementary
#A63271 #37A632 #32A6A1
monochromatic
#481631 #772451 #A63271 #C94C90 #D77BAD

Accessibility & contrast

On white

6.33
#A63271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A63271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A63271
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A63271#FFFFFF#000000##FFFFFF
##A632711.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#65676E
Tritanopia (blue-blind)
#B22B4D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a63271;
/* rgb */ color: rgb(166, 50, 113);
/* oklch */ color: oklch(50.9% 0.163 351.1);
Tailwind
colors: {
  custom: {
    50: '#c47399',
    500: '#a63271',
    950: '#000000',
  },
}
SCSS
$custom: #a63271;
$custom-light: #c47399;
$custom-dark: #000000;
JSON
{
  "hex": "#a63271",
  "rgb": {
    "r": 166,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 327.414,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50901,
    "c": 0.16348,
    "h": 351.1
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#A63271
secondary
#74C097
accent
#DD8E4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A63271

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

Preview Lab → · Contrast checker → · Palette generator →

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