#A6231F#A6231F

#A6231F is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.168 H 27.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A6231F
RGBrgb(166, 35, 31)
HSLhsl(2, 69%, 39%)
HSVhsv(2, 81%, 65%)
CMYKcmyk(0%, 78.9%, 81.3%, 34.9%)
CIE-LABlab(36.76, 51.93, 36.17)
CIE-LCHlch(36.76, 63.28, 34.86°)
OKLaboklab(47.49% 0.1486 0.0779)
OKLCHoklch(47.49% 0.168 27.7)
XYZxyz(16.5763, 9.4106, 2.2397)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6231F #1FA2A6
analogous
#A61F5E #A6231F #A6661F
triadic
#A6231F #1FA623 #231FA6
tetradic
#A6231F #5EA61F #1FA2A6 #661FA6
square
#A6231F #5EA61F #1FA2A6 #661FA6
split-complementary
#A6231F #1FA666 #1F5EA6
monochromatic
#3F0D0C #721815 #A6231F #D7302B #E1625E

Accessibility & contrast

On white

7.29
#A6231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A6231F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A6231F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6231F#FFFFFF#000000##FFFFFF
##A6231F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441D
Deuteranopia (green-blind)
#6C6119
Tritanopia (blue-blind)
#B70024
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a6231f;
/* rgb */ color: rgb(166, 35, 31);
/* oklch */ color: oklch(47.5% 0.168 27.7);
Tailwind
colors: {
  custom: {
    50: '#ca6a5c',
    500: '#a6231f',
    950: '#000000',
  },
}
SCSS
$custom: #a6231f;
$custom-light: #ca6a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6231f",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 1.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.16777,
    "h": 27.7
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#A6231F
secondary
#5BC2C5
accent
#E6EB3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A6231F

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

Preview Lab → · Contrast checker → · Palette generator →

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