#A81F27#A81F27

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

Color values

HEX#A81F27
RGBrgb(168, 31, 39)
HSLhsl(356, 69%, 39%)
HSVhsv(356, 82%, 66%)
CMYKcmyk(0%, 81.5%, 76.8%, 34.1%)
CIE-LABlab(36.84, 53.97, 31.74)
CIE-LCHlch(36.84, 62.61, 30.46°)
OKLaboklab(47.65% 0.1565 0.0706)
OKLCHoklch(47.65% 0.172 24.3)
XYZxyz(17.0067, 9.4540, 2.8484)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F27 #1FA8A0
analogous
#A81F6C #A81F27 #A85C1F
triadic
#A81F27 #27A81F #1F27A8
tetradic
#A81F27 #6CA81F #1FA8A0 #5C1FA8
square
#A81F27 #6CA81F #1FA8A0 #5C1FA8
split-complementary
#A81F27 #1FA85C #1F6CA8
monochromatic
#410C0F #74151B #A81F27 #D82C36 #E26067

Accessibility & contrast

On white

7.27
#A81F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A81F27
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F27#FFFFFF#000000##FFFFFF
##A81F271.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a81f27;
/* rgb */ color: rgb(168, 31, 39);
/* oklch */ color: oklch(47.6% 0.172 24.3);
Tailwind
colors: {
  custom: {
    50: '#cb6961',
    500: '#a81f27',
    950: '#000000',
  },
}
SCSS
$custom: #a81f27;
$custom-light: #cb6961;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f27",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 356.496,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47649,
    "c": 0.1717,
    "h": 24.3
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

primary
#A81F27
secondary
#5DC6C0
accent
#ECE13C
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A81F27

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

Preview Lab → · Contrast checker → · Palette generator →

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