#A81F23#A81F23

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

Color values

HEX#A81F23
RGBrgb(168, 31, 35)
HSLhsl(358, 69%, 39%)
HSVhsv(358, 82%, 66%)
CMYKcmyk(0%, 81.5%, 79.2%, 34.1%)
CIE-LABlab(36.80, 53.83, 34.05)
CIE-LCHlch(36.80, 63.69, 32.32°)
OKLaboklab(47.6% 0.1552 0.0744)
OKLCHoklch(47.6% 0.172 25.6)
XYZxyz(16.9439, 9.4289, 2.5176)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F23 #1FA8A4
analogous
#A81F68 #A81F23 #A8601F
triadic
#A81F23 #23A81F #1F23A8
tetradic
#A81F23 #68A81F #1FA8A4 #601FA8
square
#A81F23 #68A81F #1FA8A4 #601FA8
split-complementary
#A81F23 #1FA860 #1F68A8
monochromatic
#410C0D #741518 #A81F23 #D82C31 #E26064

Accessibility & contrast

On white

7.28
#A81F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A81F23
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F23#FFFFFF#000000##FFFFFF
##A81F231.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4421
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#B90023
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a81f23;
/* rgb */ color: rgb(168, 31, 35);
/* oklch */ color: oklch(47.6% 0.172 25.6);
Tailwind
colors: {
  custom: {
    50: '#cb695e',
    500: '#a81f23',
    950: '#000000',
  },
}
SCSS
$custom: #a81f23;
$custom-light: #cb695e;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f23",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 358.248,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47599,
    "c": 0.17212,
    "h": 25.6
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#A81F23
secondary
#5DC6C3
accent
#ECE73C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A81F23

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

Preview Lab → · Contrast checker → · Palette generator →

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