#A71F7E#A71F7E

#A71F7E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.192 H 343.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A71F7E
RGBrgb(167, 31, 126)
HSLhsl(318, 69%, 39%)
HSVhsv(318, 81%, 65%)
CMYKcmyk(0%, 81.4%, 24.6%, 34.5%)
CIE-LABlab(39.08, 60.95, -20.11)
CIE-LCHlch(39.08, 64.18, 341.74°)
OKLaboklab(50.04% 0.1844 -0.0538)
OKLCHoklch(50.04% 0.192 343.7)
XYZxyz(20.1931, 10.7041, 20.7373)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F7E #1FA748
analogous
#8C1FA7 #A71F7E #A71F3A
triadic
#A71F7E #7EA71F #1F7EA7
tetradic
#A71F7E #A78C1F #1FA748 #1F3AA7
square
#A71F7E #A78C1F #1FA748 #1F3AA7
split-complementary
#A71F7E #3AA71F #1FA78C
monochromatic
#400C30 #731557 #A71F7E #D82BA4 #E15FBA

Accessibility & contrast

On white

6.69
#A71F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A71F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F7E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F7E#FFFFFF#000000##FFFFFF
##A71F7E1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#B21E4D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71f7e;
/* rgb */ color: rgb(167, 31, 126);
/* oklch */ color: oklch(50.0% 0.192 343.7);
Tailwind
colors: {
  custom: {
    50: '#c56ca3',
    500: '#a71f7e',
    950: '#000000',
  },
}
SCSS
$custom: #a71f7e;
$custom-light: #c56ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f7e",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 318.088,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.19211,
    "h": 343.7
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#A71F7E
secondary
#5CC67C
accent
#EC713C
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#14080F
muted
#827A7F

Preview Lab

Preview with #A71F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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