#A42731#A42731

#A42731 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.7% C 0.161 H 21.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A42731
RGBrgb(164, 39, 49)
HSLhsl(355, 62%, 40%)
HSVhsv(355, 76%, 64%)
CMYKcmyk(0%, 76.2%, 70.1%, 35.7%)
CIE-LABlab(37.06, 50.75, 25.67)
CIE-LCHlch(37.06, 56.87, 26.83°)
OKLaboklab(47.71% 0.1491 0.0596)
OKLCHoklch(47.71% 0.161 21.8)
XYZxyz(16.5916, 9.5678, 3.8783)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42731 #27A49A
analogous
#A42770 #A42731 #A45C27
triadic
#A42731 #31A427 #2731A4
tetradic
#A42731 #70A427 #27A49A #5C27A4
square
#A42731 #70A427 #27A49A #5C27A4
split-complementary
#A42731 #27A45C #2770A4
monochromatic
#410F13 #731B22 #A42731 #D03845 #DC6A73

Accessibility & contrast

On white

7.21
#A42731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A42731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42731
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42731#FFFFFF#000000##FFFFFF
##A427311.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4630
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#B4002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a42731;
/* rgb */ color: rgb(164, 39, 49);
/* oklch */ color: oklch(47.7% 0.161 21.8);
Tailwind
colors: {
  custom: {
    50: '#c76c69',
    500: '#a42731',
    950: '#000000',
  },
}
SCSS
$custom: #a42731;
$custom-light: #c76c69;
$custom-dark: #000000;
JSON
{
  "hex": "#a42731",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 355.2,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47707,
    "c": 0.16057,
    "h": 21.8
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#A42731
secondary
#65C2BA
accent
#E5D843
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A42731

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

Preview Lab → · Contrast checker → · Palette generator →

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