#A7242E#A7242E

#A7242E is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.9% C 0.166 H 22.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A7242E
RGBrgb(167, 36, 46)
HSLhsl(355, 65%, 40%)
HSVhsv(355, 78%, 65%)
CMYKcmyk(0%, 78.4%, 72.5%, 34.5%)
CIE-LABlab(37.26, 52.50, 27.91)
CIE-LCHlch(37.26, 59.46, 27.99°)
OKLaboklab(47.95% 0.1536 0.0639)
OKLCHoklch(47.95% 0.166 22.6)
XYZxyz(17.0623, 9.6772, 3.5537)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7242E #24A79D
analogous
#A7246F #A7242E #A75C24
triadic
#A7242E #2EA724 #242EA7
tetradic
#A7242E #6FA724 #24A79D #5C24A7
square
#A7242E #6FA724 #24A79D #5C24A7
split-complementary
#A7242E #24A75C #246FA7
monochromatic
#420E12 #751920 #A7242E #D33541 #DE6770

Accessibility & contrast

On white

7.16
#A7242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A7242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7242E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7242E#FFFFFF#000000##FFFFFF
##A7242E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#6C622A
Tritanopia (blue-blind)
#B80029
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7242e;
/* rgb */ color: rgb(167, 36, 46);
/* oklch */ color: oklch(47.9% 0.166 22.6);
Tailwind
colors: {
  custom: {
    50: '#c96b66',
    500: '#a7242e',
    950: '#000000',
  },
}
SCSS
$custom: #a7242e;
$custom-light: #c96b66;
$custom-dark: #000000;
JSON
{
  "hex": "#a7242e",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 355.42,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47949,
    "c": 0.16634,
    "h": 22.6
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#A7242E
secondary
#63C4BD
accent
#E8DB40
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A7242E

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

Preview Lab → · Contrast checker → · Palette generator →

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