#A71F78#A71F78

#A71F78 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.189 H 346.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A71F78
RGBrgb(167, 31, 120)
HSLhsl(321, 69%, 39%)
HSVhsv(321, 81%, 65%)
CMYKcmyk(0%, 81.4%, 28.1%, 34.5%)
CIE-LABlab(38.82, 60.20, -16.77)
CIE-LCHlch(38.82, 62.49, 344.43°)
OKLaboklab(49.77% 0.1834 -0.0445)
OKLCHoklch(49.77% 0.189 346.4)
XYZxyz(19.8175, 10.5538, 18.7591)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F78 #1FA74E
analogous
#921FA7 #A71F78 #A71F34
triadic
#A71F78 #78A71F #1F78A7
tetradic
#A71F78 #A7921F #1FA74E #1F34A7
square
#A71F78 #A7921F #1FA74E #1F34A7
split-complementary
#A71F78 #34A71F #1FA792
monochromatic
#400C2E #731553 #A71F78 #D82B9C #E15FB4

Accessibility & contrast

On white

6.75
#A71F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A71F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F78
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F78#FFFFFF#000000##FFFFFF
##A71F781.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#B31A4A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a71f78;
/* rgb */ color: rgb(167, 31, 120);
/* oklch */ color: oklch(49.8% 0.189 346.4);
Tailwind
colors: {
  custom: {
    50: '#c66c9f',
    500: '#a71f78',
    950: '#000000',
  },
}
SCSS
$custom: #a71f78;
$custom-light: #c66c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f78",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 320.735,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.18866,
    "h": 346.4
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#A71F78
secondary
#5CC681
accent
#EC793C
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080E
muted
#827A7E

Preview Lab

Preview with #A71F78

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

Preview Lab → · Contrast checker → · Palette generator →

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