#A7231C#A7231C

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

Color values

HEX#A7231C
RGBrgb(167, 35, 28)
HSLhsl(3, 71%, 38%)
HSVhsv(3, 83%, 65%)
CMYKcmyk(0%, 79%, 83.2%, 34.5%)
CIE-LABlab(36.94, 52.14, 38.06)
CIE-LCHlch(36.94, 64.55, 36.12°)
OKLaboklab(47.65% 0.1486 0.0808)
OKLCHoklch(47.65% 0.169 28.6)
XYZxyz(16.7490, 9.5041, 2.0510)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7231C #1CA0A7
analogous
#A71C5A #A7231C #A7691C
triadic
#A7231C #1CA723 #231CA7
tetradic
#A7231C #5AA71C #1CA0A7 #691CA7
square
#A7231C #5AA71C #1CA0A7 #691CA7
split-complementary
#A7231C #1CA769 #1C5AA7
monochromatic
#3E0D0A #731813 #A7231C #DB2F26 #E3615A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7231C#FFFFFF#000000##FFFFFF
##A7231C1.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)
#4D4419
Deuteranopia (green-blind)
#6D6115
Tritanopia (blue-blind)
#B80023
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7231c;
/* rgb */ color: rgb(167, 35, 28);
/* oklch */ color: oklch(47.6% 0.169 28.6);
Tailwind
colors: {
  custom: {
    50: '#cb6a5a',
    500: '#a7231c',
    950: '#000000',
  },
}
SCSS
$custom: #a7231c;
$custom-light: #cb6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7231c",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 3.022,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47645,
    "c": 0.16913,
    "h": 28.6
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#A7231C
secondary
#58C1C7
accent
#E5EE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A7231C

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

Preview Lab → · Contrast checker → · Palette generator →

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