#A42542#A42542

#A42542 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.9% C 0.162 H 13.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A42542
RGBrgb(164, 37, 66)
HSLhsl(346, 63%, 39%)
HSVhsv(346, 77%, 64%)
CMYKcmyk(0%, 77.4%, 59.8%, 35.7%)
CIE-LABlab(37.14, 52.44, 15.02)
CIE-LCHlch(37.14, 54.55, 15.98°)
OKLaboklab(47.87% 0.158 0.0371)
OKLCHoklch(47.87% 0.162 13.2)
XYZxyz(16.9565, 9.6115, 6.1155)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42542 #25A487
analogous
#A42582 #A42542 #A44825
triadic
#A42542 #42A425 #2542A4
tetradic
#A42542 #82A425 #25A487 #4825A4
square
#A42542 #82A425 #25A487 #4825A4
split-complementary
#A42542 #25A448 #2582A4
monochromatic
#400E1A #721A2E #A42542 #D13559 #DD6782

Accessibility & contrast

On white

7.19
#A42542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A42542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42542
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42542#FFFFFF#000000##FFFFFF
##A425421.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484742
Deuteranopia (green-blind)
#69613F
Tritanopia (blue-blind)
#B40031
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a42542;
/* rgb */ color: rgb(164, 37, 66);
/* oklch */ color: oklch(47.9% 0.162 13.2);
Tailwind
colors: {
  custom: {
    50: '#c66c76',
    500: '#a42542',
    950: '#000000',
  },
}
SCSS
$custom: #a42542;
$custom-light: #c66c76;
$custom-dark: #000000;
JSON
{
  "hex": "#a42542",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 346.299,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47869,
    "c": 0.16229,
    "h": 13.2
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#A42542
secondary
#62C2AC
accent
#E6C142
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A42542

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

Preview Lab → · Contrast checker → · Palette generator →

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