#A81F2E#A81F2E

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

Color values

HEX#A81F2E
RGBrgb(168, 31, 46)
HSLhsl(353, 69%, 39%)
HSVhsv(353, 82%, 66%)
CMYKcmyk(0%, 81.5%, 72.6%, 34.1%)
CIE-LABlab(36.94, 54.27, 27.58)
CIE-LCHlch(36.94, 60.87, 26.94°)
OKLaboklab(47.75% 0.1591 0.0631)
OKLCHoklch(47.75% 0.171 21.6)
XYZxyz(17.1336, 9.5048, 3.5167)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F2E #1FA899
analogous
#A81F73 #A81F2E #A8551F
triadic
#A81F2E #2EA81F #1F2EA8
tetradic
#A81F2E #73A81F #1FA899 #551FA8
square
#A81F2E #73A81F #1FA899 #551FA8
split-complementary
#A81F2E #1FA855 #1F73A8
monochromatic
#410C12 #741520 #A81F2E #D82C3F #E2606E

Accessibility & contrast

On white

7.24
#A81F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A81F2E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F2E#FFFFFF#000000##FFFFFF
##A81F2E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a81f2e;
/* rgb */ color: rgb(168, 31, 46);
/* oklch */ color: oklch(47.7% 0.171 21.6);
Tailwind
colors: {
  custom: {
    50: '#ca6966',
    500: '#a81f2e',
    950: '#000000',
  },
}
SCSS
$custom: #a81f2e;
$custom-light: #ca6966;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f2e",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 353.431,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47749,
    "c": 0.17112,
    "h": 21.6
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#A81F2E
secondary
#5DC6BB
accent
#ECD83C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A81F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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