#A7242F#A7242F

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

Color values

HEX#A7242F
RGBrgb(167, 36, 47)
HSLhsl(355, 65%, 40%)
HSVhsv(355, 78%, 65%)
CMYKcmyk(0%, 78.4%, 71.9%, 34.5%)
CIE-LABlab(37.27, 52.55, 27.31)
CIE-LCHlch(37.27, 59.22, 27.46°)
OKLaboklab(47.97% 0.154 0.0627)
OKLCHoklch(47.97% 0.166 22.2)
XYZxyz(17.0823, 9.6851, 3.6587)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7242F #24A79C
analogous
#A72470 #A7242F #A75B24
triadic
#A7242F #2FA724 #242FA7
tetradic
#A7242F #70A724 #24A79C #5B24A7
square
#A7242F #70A724 #24A79C #5B24A7
split-complementary
#A7242F #24A75B #2470A7
monochromatic
#420E13 #751921 #A7242F #D33542 #DE6771

Accessibility & contrast

On white

7.15
#A7242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A7242F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7242F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7242F#FFFFFF#000000##FFFFFF
##A7242F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462E
Deuteranopia (green-blind)
#6C622B
Tritanopia (blue-blind)
#B8002A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7242f;
/* rgb */ color: rgb(167, 36, 47);
/* oklch */ color: oklch(48.0% 0.166 22.2);
Tailwind
colors: {
  custom: {
    50: '#c96b67',
    500: '#a7242f',
    950: '#000000',
  },
}
SCSS
$custom: #a7242f;
$custom-light: #c96b67;
$custom-dark: #000000;
JSON
{
  "hex": "#a7242f",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 354.962,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.16625,
    "h": 22.2
  },
  "luminance": 0.09682
}

Semantic roles & 50–950 ramp

primary
#A7242F
secondary
#63C4BC
accent
#E8D940
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A7242F

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

Preview Lab → · Contrast checker → · Palette generator →

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