#A42840#A42840

#A42840 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.1% C 0.159 H 14.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A42840
RGBrgb(164, 40, 64)
HSLhsl(348, 61%, 40%)
HSVhsv(348, 76%, 64%)
CMYKcmyk(0%, 75.6%, 61%, 35.7%)
CIE-LABlab(37.45, 51.30, 16.72)
CIE-LCHlch(37.45, 53.96, 18.05°)
OKLaboklab(48.09% 0.154 0.041)
OKLCHoklch(48.09% 0.159 14.9)
XYZxyz(16.9958, 9.7827, 5.8428)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42840 #28A48C
analogous
#A4287E #A42840 #A44E28
triadic
#A42840 #40A428 #2840A4
tetradic
#A42840 #7EA428 #28A48C #4E28A4
square
#A42840 #7EA428 #28A48C #4E28A4
split-complementary
#A42840 #28A44E #287EA4
monochromatic
#42101A #731C2D #A42840 #CF3A57 #DB6B81

Accessibility & contrast

On white

7.10
#A42840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A42840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42840
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42840#FFFFFF#000000##FFFFFF
##A428401.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4840
Deuteranopia (green-blind)
#6A613D
Tritanopia (blue-blind)
#B40032
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42840;
/* rgb */ color: rgb(164, 40, 64);
/* oklch */ color: oklch(48.1% 0.159 14.9);
Tailwind
colors: {
  custom: {
    50: '#c66d74',
    500: '#a42840',
    950: '#000000',
  },
}
SCSS
$custom: #a42840;
$custom-light: #c66d74;
$custom-dark: #000000;
JSON
{
  "hex": "#a42840",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 348.387,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.48088,
    "c": 0.15933,
    "h": 14.9
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#A42840
secondary
#66C1B0
accent
#E4C544
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #A42840

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

Preview Lab → · Contrast checker → · Palette generator →

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