#A42838#A42838

#A42838 is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.9% C 0.159 H 18.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A42838
RGBrgb(164, 40, 56)
HSLhsl(352, 61%, 40%)
HSVhsv(352, 76%, 64%)
CMYKcmyk(0%, 75.6%, 65.9%, 35.7%)
CIE-LABlab(37.30, 50.80, 21.59)
CIE-LCHlch(37.30, 55.19, 23.02°)
OKLaboklab(47.92% 0.1508 0.0514)
OKLCHoklch(47.92% 0.159 18.8)
XYZxyz(16.7842, 9.6981, 4.7288)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42838 #28A494
analogous
#A42876 #A42838 #A45628
triadic
#A42838 #38A428 #2838A4
tetradic
#A42838 #76A428 #28A494 #5628A4
square
#A42838 #76A428 #28A494 #5628A4
split-complementary
#A42838 #28A456 #2876A4
monochromatic
#421016 #731C27 #A42838 #CF3A4D #DB6B7A

Accessibility & contrast

On white

7.14
#A42838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A42838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42838
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42838#FFFFFF#000000##FFFFFF
##A428381.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4738
Deuteranopia (green-blind)
#6B6134
Tritanopia (blue-blind)
#B4002F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42838;
/* rgb */ color: rgb(164, 40, 56);
/* oklch */ color: oklch(47.9% 0.159 18.8);
Tailwind
colors: {
  custom: {
    50: '#c66d6e',
    500: '#a42838',
    950: '#000000',
  },
}
SCSS
$custom: #a42838;
$custom-light: #c66d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a42838",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 352.258,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.15928,
    "h": 18.8
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#A42838
secondary
#66C1B6
accent
#E4CF44
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140807
muted
#837B7A

Preview Lab

Preview with #A42838

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

Preview Lab → · Contrast checker → · Palette generator →

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