#A81F28#A81F28

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

Color values

HEX#A81F28
RGBrgb(168, 31, 40)
HSLhsl(356, 69%, 39%)
HSVhsv(356, 82%, 66%)
CMYKcmyk(0%, 81.5%, 76.2%, 34.1%)
CIE-LABlab(36.86, 54.01, 31.15)
CIE-LCHlch(36.86, 62.35, 29.97°)
OKLaboklab(47.66% 0.1569 0.0695)
OKLCHoklch(47.66% 0.172 23.9)
XYZxyz(17.0235, 9.4607, 2.9368)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F28 #1FA89F
analogous
#A81F6D #A81F28 #A85B1F
triadic
#A81F28 #28A81F #1F28A8
tetradic
#A81F28 #6DA81F #1FA89F #5B1FA8
square
#A81F28 #6DA81F #1FA89F #5B1FA8
split-complementary
#A81F28 #1FA85B #1F6DA8
monochromatic
#410C0F #74151C #A81F28 #D82C37 #E26068

Accessibility & contrast

On white

7.26
#A81F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A81F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F28
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F28#FFFFFF#000000##FFFFFF
##A81F281.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4427
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#B90024
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a81f28;
/* rgb */ color: rgb(168, 31, 40);
/* oklch */ color: oklch(47.7% 0.172 23.9);
Tailwind
colors: {
  custom: {
    50: '#cb6962',
    500: '#a81f28',
    950: '#000000',
  },
}
SCSS
$custom: #a81f28;
$custom-light: #cb6962;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f28",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 356.058,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.17161,
    "h": 23.9
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#A81F28
secondary
#5DC6BF
accent
#ECE03C
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A81F28

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

Preview Lab → · Contrast checker → · Palette generator →

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