#A81F42#A81F42

#A81F42 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.171 H 12.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A81F42
RGBrgb(168, 31, 66)
HSLhsl(345, 69%, 39%)
HSVhsv(345, 82%, 66%)
CMYKcmyk(0%, 81.5%, 60.7%, 34.1%)
CIE-LABlab(37.30, 55.38, 15.38)
CIE-LCHlch(37.30, 57.47, 15.52°)
OKLaboklab(48.13% 0.1669 0.0379)
OKLCHoklch(48.13% 0.171 12.8)
XYZxyz(17.6236, 9.7008, 6.0977)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F42 #1FA885
analogous
#A81F87 #A81F42 #A8411F
triadic
#A81F42 #42A81F #1F42A8
tetradic
#A81F42 #87A81F #1FA885 #411FA8
square
#A81F42 #87A81F #1FA885 #411FA8
split-complementary
#A81F42 #1FA841 #1F87A8
monochromatic
#410C19 #74152E #A81F42 #D82C58 #E26081

Accessibility & contrast

On white

7.14
#A81F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A81F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F42
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F42#FFFFFF#000000##FFFFFF
##A81F421.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474642
Deuteranopia (green-blind)
#6A623E
Tritanopia (blue-blind)
#B8002F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a81f42;
/* rgb */ color: rgb(168, 31, 66);
/* oklch */ color: oklch(48.1% 0.171 12.8);
Tailwind
colors: {
  custom: {
    50: '#c96a76',
    500: '#a81f42',
    950: '#000000',
  },
}
SCSS
$custom: #a81f42;
$custom-light: #c96a76;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f42",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 344.672,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.17118,
    "h": 12.8
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#A81F42
secondary
#5DC6AB
accent
#ECBF3C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A81F42

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

Preview Lab → · Contrast checker → · Palette generator →

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