#A04271#A04271

#A04271 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 51.9% C 0.135 H 351.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A04271
RGBrgb(160, 66, 113)
HSLhsl(330, 42%, 44%)
HSVhsv(330, 59%, 63%)
CMYKcmyk(0%, 58.8%, 29.4%, 37.3%)
CIE-LABlab(42.10, 44.10, -7.57)
CIE-LCHlch(42.10, 44.74, 350.26°)
OKLaboklab(51.86% 0.1338 -0.0195)
OKLCHoklch(51.86% 0.135 351.7)
XYZxyz(19.4269, 12.5642, 17.0216)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04271 #42A071
analogous
#A042A0 #A04271 #A04242
triadic
#A04271 #71A042 #4271A0
tetradic
#A04271 #A0A042 #42A071 #4242A0
square
#A04271 #A0A042 #42A071 #4242A0
split-complementary
#A04271 #42A042 #42A0A0
monochromatic
#491E34 #753052 #A04271 #BE6190 #D08DAE

Accessibility & contrast

On white

5.98
#A04271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A04271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04271
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04271#FFFFFF#000000##FFFFFF
##A042711.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5972
Deuteranopia (green-blind)
#686A6F
Tritanopia (blue-blind)
#AB3E54
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a04271;
/* rgb */ color: rgb(160, 66, 113);
/* oklch */ color: oklch(51.9% 0.135 351.7);
Tailwind
colors: {
  custom: {
    50: '#bf7b99',
    500: '#a04271',
    950: '#000000',
  },
}
SCSS
$custom: #a04271;
$custom-light: #bf7b99;
$custom-dark: #000000;
JSON
{
  "hex": "#a04271",
  "rgb": {
    "r": 160,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 330,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.13518,
    "h": 351.7
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#A04271
secondary
#83BB9F
accent
#D19456
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A04271

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

Preview Lab → · Contrast checker → · Palette generator →

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