#A75271#A75271

#A75271 is a mid, moderate pink. Relative luminance 0.154; OKLCH L 55.2% C 0.117 H 358.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A75271
RGBrgb(167, 82, 113)
HSLhsl(338, 34%, 49%)
HSVhsv(338, 51%, 65%)
CMYKcmyk(0%, 50.9%, 32.3%, 34.5%)
CIE-LABlab(46.24, 38.43, -1.32)
CIE-LCHlch(46.24, 38.45, 358.03°)
OKLaboklab(55.17% 0.1167 -0.003)
OKLCHoklch(55.17% 0.117 358.5)
XYZxyz(21.9352, 15.4443, 17.4454)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A75271 #52A788
analogous
#A7529C #A75271 #A75E52
triadic
#A75271 #71A752 #5271A7
tetradic
#A75271 #9CA752 #52A788 #5E52A7
square
#A75271 #9CA752 #52A788 #5E52A7
split-complementary
#A75271 #52A75E #529CA7
monochromatic
#552A39 #7E3E55 #A75271 #BD7992 #D1A2B3

Accessibility & contrast

On white

5.14
#A75271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A75271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A75271
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A75271#FFFFFF#000000##FFFFFF
##A752711.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6472
Deuteranopia (green-blind)
#75736F
Tritanopia (blue-blind)
#B34C5D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a75271;
/* rgb */ color: rgb(167, 82, 113);
/* oklch */ color: oklch(55.2% 0.117 358.5);
Tailwind
colors: {
  custom: {
    50: '#c48599',
    500: '#a75271',
    950: '#000000',
  },
}
SCSS
$custom: #a75271;
$custom-light: #c48599;
$custom-dark: #000000;
JSON
{
  "hex": "#a75271",
  "rgb": {
    "r": 167,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 338.118,
    "s": 34.137,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55166,
    "c": 0.11669,
    "h": 358.5
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#A75271
secondary
#96BFB0
accent
#CAA35E
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #A75271

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

Preview Lab → · Contrast checker → · Palette generator →

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