#A02040#A02040

#A02040 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.7% C 0.163 H 12.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A02040
RGBrgb(160, 32, 64)
HSLhsl(345, 67%, 38%)
HSVhsv(345, 80%, 63%)
CMYKcmyk(0%, 80%, 60%, 37.3%)
CIE-LABlab(35.75, 52.67, 14.30)
CIE-LCHlch(35.75, 54.58, 15.19°)
OKLaboklab(46.69% 0.1589 0.0354)
OKLCHoklch(46.69% 0.163 12.6)
XYZxyz(15.9408, 8.8791, 5.7240)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02040 #20A080
analogous
#A02080 #A02040 #A04020
triadic
#A02040 #40A020 #2040A0
tetradic
#A02040 #80A020 #20A080 #4020A0
square
#A02040 #80A020 #20A080 #4020A0
split-complementary
#A02040 #20A040 #2080A0
monochromatic
#3A0C17 #6D162C #A02040 #D32A54 #DE5C7D

Accessibility & contrast

On white

7.57
#A02040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#A02040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02040
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02040#FFFFFF#000000##FFFFFF
##A020401.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02040;
/* rgb */ color: rgb(160, 32, 64);
/* oklch */ color: oklch(46.7% 0.163 12.6);
Tailwind
colors: {
  custom: {
    50: '#c36974',
    500: '#a02040',
    950: '#000000',
  },
}
SCSS
$custom: #a02040;
$custom-light: #c36974;
$custom-dark: #000000;
JSON
{
  "hex": "#a02040",
  "rgb": {
    "r": 160,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 345,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.1628,
    "h": 12.6
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#A02040
secondary
#59C3A8
accent
#EABF3E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A02040

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

Preview Lab → · Contrast checker → · Palette generator →

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