#A81F4C#A81F4C

#A81F4C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.173 H 7.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A81F4C
RGBrgb(168, 31, 76)
HSLhsl(340, 69%, 39%)
HSVhsv(340, 82%, 66%)
CMYKcmyk(0%, 81.5%, 54.8%, 34.1%)
CIE-LABlab(37.53, 56.09, 9.28)
CIE-LCHlch(37.53, 56.85, 9.39°)
OKLaboklab(48.38% 0.1709 0.0237)
OKLCHoklch(48.38% 0.173 7.9)
XYZxyz(17.9447, 9.8292, 7.7884)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F4C #1FA87B
analogous
#A81F91 #A81F4C #A8371F
triadic
#A81F4C #4CA81F #1F4CA8
tetradic
#A81F4C #91A81F #1FA87B #371FA8
square
#A81F4C #91A81F #1FA87B #371FA8
split-complementary
#A81F4C #1FA837 #1F91A8
monochromatic
#410C1D #741535 #A81F4C #D82C65 #E2608A

Accessibility & contrast

On white

7.08
#A81F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A81F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F4C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F4C#FFFFFF#000000##FFFFFF
##A81F4C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B80033
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a81f4c;
/* rgb */ color: rgb(168, 31, 76);
/* oklch */ color: oklch(48.4% 0.173 7.9);
Tailwind
colors: {
  custom: {
    50: '#c86a7d',
    500: '#a81f4c',
    950: '#000000',
  },
}
SCSS
$custom: #a81f4c;
$custom-light: #c86a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f4c",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 340.292,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.17251,
    "h": 7.9
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#A81F4C
secondary
#5DC6A4
accent
#ECB23C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A81F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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