#A42837#A42837

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

Color values

HEX#A42837
RGBrgb(164, 40, 55)
HSLhsl(353, 61%, 40%)
HSVhsv(353, 76%, 64%)
CMYKcmyk(0%, 75.6%, 66.5%, 35.7%)
CIE-LABlab(37.28, 50.74, 22.19)
CIE-LCHlch(37.28, 55.38, 23.63°)
OKLaboklab(47.9% 0.1504 0.0527)
OKLCHoklch(47.9% 0.159 19.3)
XYZxyz(16.7600, 9.6884, 4.6012)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42837 #28A495
analogous
#A42875 #A42837 #A45728
triadic
#A42837 #37A428 #2837A4
tetradic
#A42837 #75A428 #28A495 #5728A4
square
#A42837 #75A428 #28A495 #5728A4
split-complementary
#A42837 #28A457 #2875A4
monochromatic
#421016 #731C27 #A42837 #CF3A4C #DB6B79

Accessibility & contrast

On white

7.15
#A42837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A42837
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42837#FFFFFF#000000##FFFFFF
##A428371.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42837;
/* rgb */ color: rgb(164, 40, 55);
/* oklch */ color: oklch(47.9% 0.159 19.3);
Tailwind
colors: {
  custom: {
    50: '#c66d6d',
    500: '#a42837',
    950: '#000000',
  },
}
SCSS
$custom: #a42837;
$custom-light: #c66d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a42837",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 352.742,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.47904,
    "c": 0.15932,
    "h": 19.3
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42837

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

Preview Lab → · Contrast checker → · Palette generator →

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