#A42821#A42821

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

Color values

HEX#A42821
RGBrgb(164, 40, 33)
HSLhsl(3, 66%, 39%)
HSVhsv(3, 80%, 64%)
CMYKcmyk(0%, 75.6%, 79.9%, 35.7%)
CIE-LABlab(36.97, 49.72, 35.13)
CIE-LCHlch(36.97, 60.88, 35.24°)
OKLaboklab(47.58% 0.1423 0.0765)
OKLCHoklch(47.58% 0.162 28.3)
XYZxyz(16.3451, 9.5225, 2.4159)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42821 #219DA4
analogous
#A4215B #A42821 #A46921
triadic
#A42821 #21A428 #2821A4
tetradic
#A42821 #5BA421 #219DA4 #6921A4
square
#A42821 #5BA421 #219DA4 #6921A4
split-complementary
#A42821 #21A469 #215BA4
monochromatic
#3E0F0C #711C17 #A42821 #D5362D #DF6760

Accessibility & contrast

On white

7.23
#A42821 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A42821
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42821#FFFFFF#000000##FFFFFF
##A428211.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461F
Deuteranopia (green-blind)
#6C611B
Tritanopia (blue-blind)
#B50028
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a42821;
/* rgb */ color: rgb(164, 40, 33);
/* oklch */ color: oklch(47.6% 0.162 28.3);
Tailwind
colors: {
  custom: {
    50: '#c86c5d',
    500: '#a42821',
    950: '#000000',
  },
}
SCSS
$custom: #a42821;
$custom-light: #c86c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#a42821",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 33
  },
  "hsl": {
    "h": 3.206,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.16157,
    "h": 28.3
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#A42821
secondary
#5DBEC4
accent
#E0E93E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A42821

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

Preview Lab → · Contrast checker → · Palette generator →

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