#A81F56#A81F56

#A81F56 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.175 H 2.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A81F56
RGBrgb(168, 31, 86)
HSLhsl(336, 69%, 39%)
HSVhsv(336, 82%, 66%)
CMYKcmyk(0%, 81.5%, 48.8%, 34.1%)
CIE-LABlab(37.81, 56.90, 3.25)
CIE-LCHlch(37.81, 57.00, 3.27°)
OKLaboklab(48.67% 0.1746 0.0089)
OKLCHoklch(48.67% 0.175 2.9)
XYZxyz(18.3197, 9.9792, 9.7638)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F56 #1FA871
analogous
#A81F9B #A81F56 #A82C1F
triadic
#A81F56 #56A81F #1F56A8
tetradic
#A81F56 #9BA81F #1FA871 #2C1FA8
square
#A81F56 #9BA81F #1FA871 #2C1FA8
split-complementary
#A81F56 #1FA82C #1F9BA8
monochromatic
#410C21 #74153C #A81F56 #D82C71 #E26094

Accessibility & contrast

On white

7.01
#A81F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A81F56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F56
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F56#FFFFFF#000000##FFFFFF
##A81F561.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424857
Deuteranopia (green-blind)
#676253
Tritanopia (blue-blind)
#B70038
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a81f56;
/* rgb */ color: rgb(168, 31, 86);
/* oklch */ color: oklch(48.7% 0.175 2.9);
Tailwind
colors: {
  custom: {
    50: '#c86b85',
    500: '#a81f56',
    950: '#000000',
  },
}
SCSS
$custom: #a81f56;
$custom-light: #c86b85;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f56",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 335.912,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.17481,
    "h": 2.9
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#A81F56
secondary
#5DC69C
accent
#ECA53C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070B
muted
#837A7C

Preview Lab

Preview with #A81F56

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

Preview Lab → · Contrast checker → · Palette generator →

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