#A71F7B#A71F7B

#A71F7B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.9% C 0.190 H 345.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A71F7B
RGBrgb(167, 31, 123)
HSLhsl(319, 69%, 39%)
HSVhsv(319, 81%, 65%)
CMYKcmyk(0%, 81.4%, 26.3%, 34.5%)
CIE-LABlab(38.95, 60.57, -18.45)
CIE-LCHlch(38.95, 63.32, 343.06°)
OKLaboklab(49.9% 0.1839 -0.0491)
OKLCHoklch(49.9% 0.19 345)
XYZxyz(20.0024, 10.6278, 19.7330)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F7B #1FA74B
analogous
#8F1FA7 #A71F7B #A71F37
triadic
#A71F7B #7BA71F #1F7BA7
tetradic
#A71F7B #A78F1F #1FA74B #1F37A7
square
#A71F7B #A78F1F #1FA74B #1F37A7
split-complementary
#A71F7B #37A71F #1FA78F
monochromatic
#400C2F #731555 #A71F7B #D82BA0 #E15FB7

Accessibility & contrast

On white

6.72
#A71F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A71F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F7B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F7B#FFFFFF#000000##FFFFFF
##A71F7B1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#B31C4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71f7b;
/* rgb */ color: rgb(167, 31, 123);
/* oklch */ color: oklch(49.9% 0.190 345.0);
Tailwind
colors: {
  custom: {
    50: '#c66ca1',
    500: '#a71f7b',
    950: '#000000',
  },
}
SCSS
$custom: #a71f7b;
$custom-light: #c66ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f7b",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 319.412,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.499,
    "c": 0.19036,
    "h": 345
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#A71F7B
secondary
#5CC67E
accent
#EC753C
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080F
muted
#827A7E

Preview Lab

Preview with #A71F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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