#A02028#A02028

#A02028 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.163 H 23.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A02028
RGBrgb(160, 32, 40)
HSLhsl(356, 67%, 38%)
HSVhsv(356, 80%, 63%)
CMYKcmyk(0%, 80%, 75%, 37.3%)
CIE-LABlab(35.33, 51.34, 28.98)
CIE-LCHlch(35.33, 58.96, 29.45°)
OKLaboklab(46.24% 0.1495 0.0653)
OKLCHoklch(46.24% 0.163 23.6)
XYZxyz(15.3985, 8.6622, 2.8683)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02028 #20A098
analogous
#A02068 #A02028 #A05820
triadic
#A02028 #28A020 #2028A0
tetradic
#A02028 #68A020 #20A098 #5820A0
square
#A02028 #68A020 #20A098 #5820A0
split-complementary
#A02028 #20A058 #2068A0
monochromatic
#3A0C0E #6D161B #A02028 #D32A35 #DE5C64

Accessibility & contrast

On white

7.69
#A02028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#A02028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02028
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02028#FFFFFF#000000##FFFFFF
##A020281.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484227
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#B00025
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a02028;
/* rgb */ color: rgb(160, 32, 40);
/* oklch */ color: oklch(46.2% 0.163 23.6);
Tailwind
colors: {
  custom: {
    50: '#c56862',
    500: '#a02028',
    950: '#000000',
  },
}
SCSS
$custom: #a02028;
$custom-light: #c56862;
$custom-dark: #000000;
JSON
{
  "hex": "#a02028",
  "rgb": {
    "r": 160,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 356.25,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46238,
    "c": 0.16312,
    "h": 23.6
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#A02028
secondary
#59C3BC
accent
#EADF3E
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A02028

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

Preview Lab → · Contrast checker → · Palette generator →

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