#A42831#A42831

#A42831 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.160 H 22.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A42831
RGBrgb(164, 40, 49)
HSLhsl(356, 61%, 40%)
HSVhsv(356, 76%, 64%)
CMYKcmyk(0%, 75.6%, 70.1%, 35.7%)
CIE-LABlab(37.18, 50.41, 25.82)
CIE-LCHlch(37.18, 56.64, 27.12°)
OKLaboklab(47.8% 0.148 0.0599)
OKLCHoklch(47.8% 0.16 22)
XYZxyz(16.6249, 9.6344, 3.8894)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42831 #28A49B
analogous
#A4286F #A42831 #A45D28
triadic
#A42831 #31A428 #2831A4
tetradic
#A42831 #6FA428 #28A49B #5D28A4
square
#A42831 #6FA428 #28A49B #5D28A4
split-complementary
#A42831 #28A45D #286FA4
monochromatic
#421014 #731C22 #A42831 #CF3A45 #DB6B74

Accessibility & contrast

On white

7.18
#A42831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A42831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42831
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42831#FFFFFF#000000##FFFFFF
##A428311.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42831;
/* rgb */ color: rgb(164, 40, 49);
/* oklch */ color: oklch(47.8% 0.160 22.0);
Tailwind
colors: {
  custom: {
    50: '#c76c69',
    500: '#a42831',
    950: '#000000',
  },
}
SCSS
$custom: #a42831;
$custom-light: #c76c69;
$custom-dark: #000000;
JSON
{
  "hex": "#a42831",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 355.645,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.47799,
    "c": 0.15968,
    "h": 22
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#A42831
secondary
#66C1BB
accent
#E4D844
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140806
muted
#837B7A

Preview Lab

Preview with #A42831

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

Preview Lab → · Contrast checker → · Palette generator →

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