#A02140#A02140

#A02140 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 12.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#A02140
RGBrgb(160, 33, 64)
HSLhsl(345, 66%, 38%)
HSVhsv(345, 79%, 63%)
CMYKcmyk(0%, 79.4%, 60%, 37.3%)
CIE-LABlab(35.86, 52.37, 14.45)
CIE-LCHlch(35.86, 54.33, 15.42°)
OKLaboklab(46.77% 0.1579 0.0357)
OKLCHoklch(46.77% 0.162 12.7)
XYZxyz(15.9681, 8.9338, 5.7331)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02140 #21A081
analogous
#A02180 #A02140 #A04121
triadic
#A02140 #40A021 #2140A0
tetradic
#A02140 #80A021 #21A081 #4121A0
square
#A02140 #80A021 #21A081 #4121A0
split-complementary
#A02140 #21A041 #2180A0
monochromatic
#3B0C17 #6D172C #A02140 #D32B54 #DE5E7D

Accessibility & contrast

On white

7.54
#A02140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#A02140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02140
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02140#FFFFFF#000000##FFFFFF
##A021401.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#655E3D
Tritanopia (blue-blind)
#AF002E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a02140;
/* rgb */ color: rgb(160, 33, 64);
/* oklch */ color: oklch(46.8% 0.162 12.7);
Tailwind
colors: {
  custom: {
    50: '#c36974',
    500: '#a02140',
    950: '#000000',
  },
}
SCSS
$custom: #a02140;
$custom-light: #c36974;
$custom-dark: #000000;
JSON
{
  "hex": "#a02140",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 345.354,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46767,
    "c": 0.16193,
    "h": 12.7
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#A02140
secondary
#5BC2A9
accent
#E9BF3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02140

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

Preview Lab → · Contrast checker → · Palette generator →

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