#A81F2C#A81F2C

#A81F2C is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.171 H 22.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#A81F2C
RGBrgb(168, 31, 44)
HSLhsl(354, 69%, 39%)
HSVhsv(354, 82%, 66%)
CMYKcmyk(0%, 81.5%, 73.8%, 34.1%)
CIE-LABlab(36.91, 54.18, 28.78)
CIE-LCHlch(36.91, 61.35, 27.98°)
OKLaboklab(47.72% 0.1583 0.0653)
OKLCHoklch(47.72% 0.171 22.4)
XYZxyz(17.0951, 9.4894, 3.3139)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F2C #1FA89B
analogous
#A81F71 #A81F2C #A8571F
triadic
#A81F2C #2CA81F #1F2CA8
tetradic
#A81F2C #71A81F #1FA89B #571FA8
square
#A81F2C #71A81F #1FA89B #571FA8
split-complementary
#A81F2C #1FA857 #1F71A8
monochromatic
#410C11 #74151E #A81F2C #D82C3C #E2606C

Accessibility & contrast

On white

7.25
#A81F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A81F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F2C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F2C#FFFFFF#000000##FFFFFF
##A81F2C1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442B
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#B90026
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a81f2c;
/* rgb */ color: rgb(168, 31, 44);
/* oklch */ color: oklch(47.7% 0.171 22.4);
Tailwind
colors: {
  custom: {
    50: '#ca6965',
    500: '#a81f2c',
    950: '#000000',
  },
}
SCSS
$custom: #a81f2c;
$custom-light: #ca6965;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f2c",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 354.307,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.17127,
    "h": 22.4
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#A81F2C
secondary
#5DC6BC
accent
#ECDB3C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A81F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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