#A42847#A42847

#A42847 is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.3% C 0.160 H 11.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A42847
RGBrgb(164, 40, 71)
HSLhsl(345, 61%, 40%)
HSVhsv(345, 76%, 64%)
CMYKcmyk(0%, 75.6%, 56.7%, 35.7%)
CIE-LABlab(37.60, 51.81, 12.46)
CIE-LCHlch(37.60, 53.28, 13.52°)
OKLaboklab(48.25% 0.1568 0.0313)
OKLCHoklch(48.25% 0.16 11.3)
XYZxyz(17.2076, 9.8675, 6.9585)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42847 #28A485
analogous
#A42885 #A42847 #A44728
triadic
#A42847 #47A428 #2847A4
tetradic
#A42847 #85A428 #28A485 #4728A4
square
#A42847 #85A428 #28A485 #4728A4
split-complementary
#A42847 #28A447 #2885A4
monochromatic
#42101C #731C32 #A42847 #CF3A5F #DB6B87

Accessibility & contrast

On white

7.06
#A42847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A42847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42847
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42847#FFFFFF#000000##FFFFFF
##A428471.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494847
Deuteranopia (green-blind)
#696244
Tritanopia (blue-blind)
#B30035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42847;
/* rgb */ color: rgb(164, 40, 71);
/* oklch */ color: oklch(48.3% 0.160 11.3);
Tailwind
colors: {
  custom: {
    50: '#c56d79',
    500: '#a42847',
    950: '#000000',
  },
}
SCSS
$custom: #a42847;
$custom-light: #c56d79;
$custom-dark: #000000;
JSON
{
  "hex": "#a42847",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 345,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.15987,
    "h": 11.3
  },
  "luminance": 0.09865
}

Semantic roles & 50–950 ramp

primary
#A42847
secondary
#66C1AB
accent
#E4BC44
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140809
muted
#827B7B

Preview Lab

Preview with #A42847

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

Preview Lab → · Contrast checker → · Palette generator →

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