#A81F51#A81F51

#A81F51 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.174 H 5.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A81F51
RGBrgb(168, 31, 81)
HSLhsl(338, 69%, 39%)
HSVhsv(338, 82%, 66%)
CMYKcmyk(0%, 81.5%, 51.8%, 34.1%)
CIE-LABlab(37.67, 56.48, 6.25)
CIE-LCHlch(37.67, 56.83, 6.32°)
OKLaboklab(48.52% 0.1728 0.0164)
OKLCHoklch(48.52% 0.174 5.4)
XYZxyz(18.1253, 9.9015, 8.7397)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F51 #1FA876
analogous
#A81F96 #A81F51 #A8321F
triadic
#A81F51 #51A81F #1F51A8
tetradic
#A81F51 #96A81F #1FA876 #321FA8
square
#A81F51 #96A81F #1FA876 #321FA8
split-complementary
#A81F51 #1FA832 #1F96A8
monochromatic
#410C1F #741538 #A81F51 #D82C6B #E2608F

Accessibility & contrast

On white

7.05
#A81F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A81F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F51
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F51#FFFFFF#000000##FFFFFF
##A81F511.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444752
Deuteranopia (green-blind)
#67624E
Tritanopia (blue-blind)
#B70036
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a81f51;
/* rgb */ color: rgb(168, 31, 81);
/* oklch */ color: oklch(48.5% 0.174 5.4);
Tailwind
colors: {
  custom: {
    50: '#c86a81',
    500: '#a81f51',
    950: '#000000',
  },
}
SCSS
$custom: #a81f51;
$custom-light: #c86a81;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f51",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 81
  },
  "hsl": {
    "h": 338.102,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.17353,
    "h": 5.4
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

primary
#A81F51
secondary
#5DC6A0
accent
#ECAC3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A81F51

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

Preview Lab → · Contrast checker → · Palette generator →

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