#A8242A#A8242A

#A8242A is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.1% C 0.168 H 24.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A8242A
RGBrgb(168, 36, 42)
HSLhsl(357, 65%, 40%)
HSVhsv(357, 79%, 66%)
CMYKcmyk(0%, 78.6%, 75%, 34.1%)
CIE-LABlab(37.40, 52.63, 30.56)
CIE-LCHlch(37.40, 60.86, 30.14°)
OKLaboklab(48.08% 0.153 0.0687)
OKLCHoklch(48.08% 0.168 24.2)
XYZxyz(17.1993, 9.7565, 3.1676)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8242A #24A8A2
analogous
#A8246C #A8242A #A86024
triadic
#A8242A #2AA824 #242AA8
tetradic
#A8242A #6CA824 #24A8A2 #6024A8
square
#A8242A #6CA824 #24A8A2 #6024A8
split-complementary
#A8242A #24A860 #246CA8
monochromatic
#430E11 #76191D #A8242A #D4353D #DF686D

Accessibility & contrast

On white

7.12
#A8242A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A8242A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A8242A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8242A#FFFFFF#000000##FFFFFF
##A8242A1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4629
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#B90028
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a8242a;
/* rgb */ color: rgb(168, 36, 42);
/* oklch */ color: oklch(48.1% 0.168 24.2);
Tailwind
colors: {
  custom: {
    50: '#ca6b64',
    500: '#a8242a',
    950: '#000000',
  },
}
SCSS
$custom: #a8242a;
$custom-light: #ca6b64;
$custom-dark: #000000;
JSON
{
  "hex": "#a8242a",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 42
  },
  "hsl": {
    "h": 357.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.16769,
    "h": 24.2
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#A8242A
secondary
#63C4C0
accent
#E8E040
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A8242A

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

Preview Lab → · Contrast checker → · Palette generator →

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