#A82040#A82040

#A82040 is a mid, vivid red. Relative luminance 0.097; OKLCH L 48.2% C 0.170 H 13.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A82040
RGBrgb(168, 32, 64)
HSLhsl(346, 68%, 39%)
HSVhsv(346, 81%, 66%)
CMYKcmyk(0%, 81%, 61.9%, 34.1%)
CIE-LABlab(37.35, 54.97, 16.73)
CIE-LCHlch(37.35, 57.46, 16.93°)
OKLaboklab(48.16% 0.1653 0.0409)
OKLCHoklch(48.16% 0.17 13.9)
XYZxyz(17.5922, 9.7307, 5.8014)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82040 #20A888
analogous
#A82084 #A82040 #A84420
triadic
#A82040 #40A820 #2040A8
tetradic
#A82040 #84A820 #20A888 #4420A8
square
#A82040 #84A820 #20A888 #4420A8
split-complementary
#A82040 #20A844 #2084A8
monochromatic
#410C19 #75162C #A82040 #D72E56 #E1617F

Accessibility & contrast

On white

7.13
#A82040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A82040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A82040
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82040#FFFFFF#000000##FFFFFF
##A820401.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484640
Deuteranopia (green-blind)
#6A623C
Tritanopia (blue-blind)
#B8002E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a82040;
/* rgb */ color: rgb(168, 32, 64);
/* oklch */ color: oklch(48.2% 0.170 13.9);
Tailwind
colors: {
  custom: {
    50: '#c96a74',
    500: '#a82040',
    950: '#000000',
  },
}
SCSS
$custom: #a82040;
$custom-light: #c96a74;
$custom-dark: #000000;
JSON
{
  "hex": "#a82040",
  "rgb": {
    "r": 168,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 345.882,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48159,
    "c": 0.17024,
    "h": 13.9
  },
  "luminance": 0.09728
}

Semantic roles & 50–950 ramp

primary
#A82040
secondary
#5EC6AD
accent
#EBC23D
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150708
muted
#837A7B

Preview Lab

Preview with #A82040

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

Preview Lab → · Contrast checker → · Palette generator →

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