#A81F52#A81F52

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

Color values

HEX#A81F52
RGBrgb(168, 31, 82)
HSLhsl(338, 69%, 39%)
HSVhsv(338, 82%, 66%)
CMYKcmyk(0%, 81.5%, 51.2%, 34.1%)
CIE-LABlab(37.69, 56.56, 5.65)
CIE-LCHlch(37.69, 56.85, 5.70°)
OKLaboklab(48.55% 0.1731 0.0149)
OKLCHoklch(48.55% 0.174 4.9)
XYZxyz(18.1631, 9.9166, 8.9387)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F52 #1FA875
analogous
#A81F97 #A81F52 #A8311F
triadic
#A81F52 #52A81F #1F52A8
tetradic
#A81F52 #97A81F #1FA875 #311FA8
square
#A81F52 #97A81F #1FA875 #311FA8
split-complementary
#A81F52 #1FA831 #1F97A8
monochromatic
#410C20 #741539 #A81F52 #D82C6C #E26090

Accessibility & contrast

On white

7.04
#A81F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A81F52
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F52#FFFFFF#000000##FFFFFF
##A81F521.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a81f52;
/* rgb */ color: rgb(168, 31, 82);
/* oklch */ color: oklch(48.5% 0.174 4.9);
Tailwind
colors: {
  custom: {
    50: '#c86a82',
    500: '#a81f52',
    950: '#000000',
  },
}
SCSS
$custom: #a81f52;
$custom-light: #c86a82;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f52",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 337.664,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.17377,
    "h": 4.9
  },
  "luminance": 0.09914
}

Semantic roles & 50–950 ramp

primary
#A81F52
secondary
#5DC69F
accent
#ECAA3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A81F52

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

Preview Lab → · Contrast checker → · Palette generator →

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