#A7231E#A7231E

#A7231E is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.169 H 28.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A7231E
RGBrgb(167, 35, 30)
HSLhsl(2, 70%, 39%)
HSVhsv(2, 82%, 65%)
CMYKcmyk(0%, 79%, 82%, 34.5%)
CIE-LABlab(36.96, 52.20, 36.99)
CIE-LCHlch(36.96, 63.98, 35.32°)
OKLaboklab(47.67% 0.1491 0.0792)
OKLCHoklch(47.67% 0.169 28)
XYZxyz(16.7738, 9.5140, 2.1812)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7231E #1EA2A7
analogous
#A71E5D #A7231E #A7671E
triadic
#A7231E #1EA723 #231EA7
tetradic
#A7231E #5DA71E #1EA2A7 #671EA7
square
#A7231E #5DA71E #1EA2A7 #671EA7
split-complementary
#A7231E #1EA767 #1E5DA7
monochromatic
#3F0D0B #731815 #A7231E #D9302A #E2625D

Accessibility & contrast

On white

7.24
#A7231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A7231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7231E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7231E#FFFFFF#000000##FFFFFF
##A7231E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451C
Deuteranopia (green-blind)
#6D6117
Tritanopia (blue-blind)
#B80024
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7231e;
/* rgb */ color: rgb(167, 35, 30);
/* oklch */ color: oklch(47.7% 0.169 28.0);
Tailwind
colors: {
  custom: {
    50: '#cb6a5b',
    500: '#a7231e',
    950: '#000000',
  },
}
SCSS
$custom: #a7231e;
$custom-light: #cb6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7231e",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.19,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.16888,
    "h": 28
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#A7231E
secondary
#5BC2C6
accent
#E6EC3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A7231E

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

Preview Lab → · Contrast checker → · Palette generator →

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