#A6231E#A6231E

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

Color values

HEX#A6231E
RGBrgb(166, 35, 30)
HSLhsl(2, 69%, 38%)
HSVhsv(2, 82%, 65%)
CMYKcmyk(0%, 78.9%, 81.9%, 34.9%)
CIE-LABlab(36.75, 51.89, 36.72)
CIE-LCHlch(36.75, 63.57, 35.28°)
OKLaboklab(47.48% 0.1483 0.0787)
OKLCHoklch(47.48% 0.168 28)
XYZxyz(16.5633, 9.4055, 2.1714)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6231E #1EA1A6
analogous
#A61E5D #A6231E #A6671E
triadic
#A6231E #1EA623 #231EA6
tetradic
#A6231E #5DA61E #1EA1A6 #671EA6
square
#A6231E #5DA61E #1EA1A6 #671EA6
split-complementary
#A6231E #1EA667 #1E5DA6
monochromatic
#3E0D0B #721815 #A6231E #D82F29 #E2625D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6231E#FFFFFF#000000##FFFFFF
##A6231E1.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)
#4C441C
Deuteranopia (green-blind)
#6D6117
Tritanopia (blue-blind)
#B70024
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a6231e;
/* rgb */ color: rgb(166, 35, 30);
/* oklch */ color: oklch(47.5% 0.168 28.0);
Tailwind
colors: {
  custom: {
    50: '#ca6a5b',
    500: '#a6231e',
    950: '#000000',
  },
}
SCSS
$custom: #a6231e;
$custom-light: #ca6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6231e",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.206,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47478,
    "c": 0.1679,
    "h": 28
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#A6231E
secondary
#5AC2C6
accent
#E6EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A6231E

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

Preview Lab → · Contrast checker → · Palette generator →

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