#A02128#A02128

#A02128 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.162 H 23.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A02128
RGBrgb(160, 33, 40)
HSLhsl(357, 66%, 38%)
HSVhsv(357, 79%, 63%)
CMYKcmyk(0%, 79.4%, 75%, 37.3%)
CIE-LABlab(35.43, 51.04, 29.11)
CIE-LCHlch(35.43, 58.76, 29.69°)
OKLaboklab(46.32% 0.1485 0.0656)
OKLCHoklch(46.32% 0.162 23.8)
XYZxyz(15.4259, 8.7169, 2.8774)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02128 #21A099
analogous
#A02167 #A02128 #A05921
triadic
#A02128 #28A021 #2128A0
tetradic
#A02128 #67A021 #21A099 #5921A0
square
#A02128 #67A021 #21A099 #5921A0
split-complementary
#A02128 #21A059 #2167A0
monochromatic
#3B0C0F #6D171B #A02128 #D32B35 #DE5E65

Accessibility & contrast

On white

7.66
#A02128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#A02128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02128
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02128#FFFFFF#000000##FFFFFF
##A021281.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02128;
/* rgb */ color: rgb(160, 33, 40);
/* oklch */ color: oklch(46.3% 0.162 23.8);
Tailwind
colors: {
  custom: {
    50: '#c56962',
    500: '#a02128',
    950: '#000000',
  },
}
SCSS
$custom: #a02128;
$custom-light: #c56962;
$custom-dark: #000000;
JSON
{
  "hex": "#a02128",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 356.693,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46318,
    "c": 0.16235,
    "h": 23.8
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#A02128
secondary
#5BC2BD
accent
#E9DF3F
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A02128

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

Preview Lab → · Contrast checker → · Palette generator →

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