#A71F5F#A71F5F

#A71F5F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.177 H 358.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A71F5F
RGBrgb(167, 31, 95)
HSLhsl(332, 69%, 39%)
HSVhsv(332, 81%, 65%)
CMYKcmyk(0%, 81.4%, 43.1%, 34.5%)
CIE-LABlab(37.89, 57.46, -2.41)
CIE-LCHlch(37.89, 57.52, 357.60°)
OKLaboklab(48.78% 0.1768 -0.0056)
OKLCHoklch(48.78% 0.177 358.2)
XYZxyz(18.4933, 10.0242, 11.7853)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F5F #1FA767
analogous
#A71FA3 #A71F5F #A7231F
triadic
#A71F5F #5FA71F #1F5FA7
tetradic
#A71F5F #A3A71F #1FA767 #231FA7
square
#A71F5F #A3A71F #1FA767 #231FA7
split-complementary
#A71F5F #1FA723 #1FA3A7
monochromatic
#400C24 #731542 #A71F5F #D82B7D #E15F9C

Accessibility & contrast

On white

6.99
#A71F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#A71F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F5F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F5F#FFFFFF#000000##FFFFFF
##A71F5F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4960
Deuteranopia (green-blind)
#64625C
Tritanopia (blue-blind)
#B5003D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a71f5f;
/* rgb */ color: rgb(167, 31, 95);
/* oklch */ color: oklch(48.8% 0.177 358.2);
Tailwind
colors: {
  custom: {
    50: '#c76b8c',
    500: '#a71f5f',
    950: '#000000',
  },
}
SCSS
$custom: #a71f5f;
$custom-light: #c76b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f5f",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 331.765,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48783,
    "c": 0.17693,
    "h": 358.2
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#A71F5F
secondary
#5CC694
accent
#EC993C
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14070C
muted
#827A7D

Preview Lab

Preview with #A71F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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