#A81F4F#A81F4F

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

Color values

HEX#A81F4F
RGBrgb(168, 31, 79)
HSLhsl(339, 69%, 39%)
HSVhsv(339, 82%, 66%)
CMYKcmyk(0%, 81.5%, 53%, 34.1%)
CIE-LABlab(37.61, 56.32, 7.46)
CIE-LCHlch(37.61, 56.81, 7.55°)
OKLaboklab(48.46% 0.172 0.0193)
OKLCHoklch(48.46% 0.173 6.4)
XYZxyz(18.0514, 9.8719, 8.3506)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F4F #1FA878
analogous
#A81F94 #A81F4F #A8341F
triadic
#A81F4F #4FA81F #1F4FA8
tetradic
#A81F4F #94A81F #1FA878 #341FA8
square
#A81F4F #94A81F #1FA878 #341FA8
split-complementary
#A81F4F #1FA834 #1F94A8
monochromatic
#410C1E #741537 #A81F4F #D82C68 #E2608D

Accessibility & contrast

On white

7.06
#A81F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A81F4F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F4F#FFFFFF#000000##FFFFFF
##A81F4F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#68624C
Tritanopia (blue-blind)
#B80035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a81f4f;
/* rgb */ color: rgb(168, 31, 79);
/* oklch */ color: oklch(48.5% 0.173 6.4);
Tailwind
colors: {
  custom: {
    50: '#c86a80',
    500: '#a81f4f',
    950: '#000000',
  },
}
SCSS
$custom: #a81f4f;
$custom-light: #c86a80;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f4f",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 338.978,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48463,
    "c": 0.17309,
    "h": 6.4
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#A81F4F
secondary
#5DC6A1
accent
#ECAE3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A81F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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