#A74271#A74271

#A74271 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 52.9% C 0.142 H 354.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A74271
RGBrgb(167, 66, 113)
HSLhsl(332, 43%, 46%)
HSVhsv(332, 60%, 65%)
CMYKcmyk(0%, 60.5%, 32.3%, 34.5%)
CIE-LABlab(43.22, 46.36, -5.78)
CIE-LCHlch(43.22, 46.72, 352.90°)
OKLaboklab(52.91% 0.1411 -0.0147)
OKLCHoklch(52.91% 0.142 354.1)
XYZxyz(20.8662, 13.3063, 17.0891)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74271 #42A778
analogous
#A742A3 #A74271 #A74542
triadic
#A74271 #71A742 #4271A7
tetradic
#A74271 #A3A742 #42A778 #4542A7
square
#A74271 #A3A742 #42A778 #4542A7
split-complementary
#A74271 #42A745 #42A3A7
monochromatic
#4F1F36 #7B3153 #A74271 #C26490 #D390AF

Accessibility & contrast

On white

5.74
#A74271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A74271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74271
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74271#FFFFFF#000000##FFFFFF
##A742711.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B72
Deuteranopia (green-blind)
#6C6D6F
Tritanopia (blue-blind)
#B33C54
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a74271;
/* rgb */ color: rgb(167, 66, 113);
/* oklch */ color: oklch(52.9% 0.142 354.1);
Tailwind
colors: {
  custom: {
    50: '#c47c99',
    500: '#a74271',
    950: '#000000',
  },
}
SCSS
$custom: #a74271;
$custom-light: #c47c99;
$custom-dark: #000000;
JSON
{
  "hex": "#a74271",
  "rgb": {
    "r": 167,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 332.079,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.14189,
    "h": 354.1
  },
  "luminance": 0.13304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74271

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

Preview Lab → · Contrast checker → · Palette generator →

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