#A02821#A02821

#A02821 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.157 H 28.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A02821
RGBrgb(160, 40, 33)
HSLhsl(3, 66%, 38%)
HSVhsv(3, 79%, 63%)
CMYKcmyk(0%, 75%, 79.4%, 37.3%)
CIE-LABlab(36.18, 48.44, 34.07)
CIE-LCHlch(36.18, 59.22, 35.12°)
OKLaboklab(46.85% 0.1388 0.0745)
OKLCHoklch(46.85% 0.157 28.2)
XYZxyz(15.5323, 9.1034, 2.3778)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02821 #2199A0
analogous
#A02159 #A02821 #A06721
triadic
#A02821 #21A028 #2821A0
tetradic
#A02821 #59A021 #2199A0 #6721A0
square
#A02821 #59A021 #2199A0 #6721A0
split-complementary
#A02821 #21A067 #2159A0
monochromatic
#3B0F0C #6D1B17 #A02821 #D3352B #DE655E

Accessibility & contrast

On white

7.45
#A02821 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#A02821 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02821
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02821#FFFFFF#000000##FFFFFF
##A028211.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441F
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#B10028
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02821;
/* rgb */ color: rgb(160, 40, 33);
/* oklch */ color: oklch(46.8% 0.157 28.2);
Tailwind
colors: {
  custom: {
    50: '#c56c5d',
    500: '#a02821',
    950: '#000000',
  },
}
SCSS
$custom: #a02821;
$custom-light: #c56c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#a02821",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 33
  },
  "hsl": {
    "h": 3.307,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.15749,
    "h": 28.2
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#A02821
secondary
#5BBDC2
accent
#DFE93F
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #A02821

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

Preview Lab → · Contrast checker → · Palette generator →

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