#A81F40#A81F40

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

Color values

HEX#A81F40
RGBrgb(168, 31, 64)
HSLhsl(346, 69%, 39%)
HSVhsv(346, 82%, 66%)
CMYKcmyk(0%, 81.5%, 61.9%, 34.1%)
CIE-LABlab(37.26, 55.25, 16.60)
CIE-LCHlch(37.26, 57.69, 16.73°)
OKLaboklab(48.09% 0.1661 0.0406)
OKLCHoklch(48.09% 0.171 13.7)
XYZxyz(17.5657, 9.6776, 5.7925)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F40 #1FA887
analogous
#A81F85 #A81F40 #A8421F
triadic
#A81F40 #40A81F #1F40A8
tetradic
#A81F40 #85A81F #1FA887 #421FA8
square
#A81F40 #85A81F #1FA887 #421FA8
split-complementary
#A81F40 #1FA842 #1F85A8
monochromatic
#410C19 #74152C #A81F40 #D82C56 #E2607F

Accessibility & contrast

On white

7.16
#A81F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A81F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F40
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F40#FFFFFF#000000##FFFFFF
##A81F401.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474640
Deuteranopia (green-blind)
#6A623C
Tritanopia (blue-blind)
#B8002E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a81f40;
/* rgb */ color: rgb(168, 31, 64);
/* oklch */ color: oklch(48.1% 0.171 13.7);
Tailwind
colors: {
  custom: {
    50: '#c96a74',
    500: '#a81f40',
    950: '#000000',
  },
}
SCSS
$custom: #a81f40;
$custom-light: #c96a74;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f40",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 345.547,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.17103,
    "h": 13.7
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#A81F40
secondary
#5DC6AD
accent
#ECC13C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150708
muted
#837A7B

Preview Lab

Preview with #A81F40

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

Preview Lab → · Contrast checker → · Palette generator →

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