#A81F4B#A81F4B

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

Color values

HEX#A81F4B
RGBrgb(168, 31, 75)
HSLhsl(341, 69%, 39%)
HSVhsv(341, 82%, 66%)
CMYKcmyk(0%, 81.5%, 55.4%, 34.1%)
CIE-LABlab(37.51, 56.01, 9.89)
CIE-LCHlch(37.51, 56.88, 10.01°)
OKLaboklab(48.35% 0.1705 0.0252)
OKLCHoklch(48.35% 0.172 8.4)
XYZxyz(17.9102, 9.8154, 7.6067)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F4B #1FA87C
analogous
#A81F90 #A81F4B #A8381F
triadic
#A81F4B #4BA81F #1F4BA8
tetradic
#A81F4B #90A81F #1FA87C #381FA8
square
#A81F4B #90A81F #1FA87C #381FA8
split-complementary
#A81F4B #1FA838 #1F90A8
monochromatic
#410C1D #741534 #A81F4B #D82C63 #E26089

Accessibility & contrast

On white

7.09
#A81F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A81F4B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F4B#FFFFFF#000000##FFFFFF
##A81F4B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a81f4b;
/* rgb */ color: rgb(168, 31, 75);
/* oklch */ color: oklch(48.4% 0.172 8.4);
Tailwind
colors: {
  custom: {
    50: '#c86a7d',
    500: '#a81f4b',
    950: '#000000',
  },
}
SCSS
$custom: #a81f4b;
$custom-light: #c86a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f4b",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 340.73,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.17233,
    "h": 8.4
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A81F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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