#A81F4A#A81F4A

#A81F4A is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.172 H 8.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A81F4A
RGBrgb(168, 31, 74)
HSLhsl(341, 69%, 39%)
HSVhsv(341, 82%, 66%)
CMYKcmyk(0%, 81.5%, 56%, 34.1%)
CIE-LABlab(37.48, 55.94, 10.49)
CIE-LCHlch(37.48, 56.91, 10.63°)
OKLaboklab(48.33% 0.1701 0.0266)
OKLCHoklch(48.33% 0.172 8.9)
XYZxyz(17.8762, 9.8018, 7.4279)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F4A #1FA87D
analogous
#A81F8F #A81F4A #A8391F
triadic
#A81F4A #4AA81F #1F4AA8
tetradic
#A81F4A #8FA81F #1FA87D #391FA8
square
#A81F4A #8FA81F #1FA87D #391FA8
split-complementary
#A81F4A #1FA839 #1F8FA8
monochromatic
#410C1C #741533 #A81F4A #D82C62 #E26089

Accessibility & contrast

On white

7.10
#A81F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A81F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F4A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F4A#FFFFFF#000000##FFFFFF
##A81F4A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474B
Deuteranopia (green-blind)
#696247
Tritanopia (blue-blind)
#B80032
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a81f4a;
/* rgb */ color: rgb(168, 31, 74);
/* oklch */ color: oklch(48.3% 0.172 8.9);
Tailwind
colors: {
  custom: {
    50: '#c86a7c',
    500: '#a81f4a',
    950: '#000000',
  },
}
SCSS
$custom: #a81f4a;
$custom-light: #c86a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f4a",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 341.168,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.17216,
    "h": 8.9
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#A81F4A
secondary
#5DC6A5
accent
#ECB53C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A81F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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