#A42242#A42242

#A42242 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.6% C 0.165 H 12.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A42242
RGBrgb(164, 34, 66)
HSLhsl(345, 66%, 39%)
HSVhsv(345, 79%, 64%)
CMYKcmyk(0%, 79.3%, 59.8%, 35.7%)
CIE-LABlab(36.80, 53.37, 14.57)
CIE-LCHlch(36.80, 55.33, 15.27°)
OKLaboklab(47.62% 0.161 0.0361)
OKLCHoklch(47.62% 0.165 12.6)
XYZxyz(16.8670, 9.4324, 6.0857)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42242 #22A484
analogous
#A42283 #A42242 #A44322
triadic
#A42242 #42A422 #2242A4
tetradic
#A42242 #83A422 #22A484 #4322A4
square
#A42242 #83A422 #22A484 #4322A4
split-complementary
#A42242 #22A443 #2283A4
monochromatic
#3F0D19 #71172E #A42242 #D42F58 #DE6281

Accessibility & contrast

On white

7.28
#A42242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A42242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42242
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42242#FFFFFF#000000##FFFFFF
##A422421.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474642
Deuteranopia (green-blind)
#68603F
Tritanopia (blue-blind)
#B40030
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a42242;
/* rgb */ color: rgb(164, 34, 66);
/* oklch */ color: oklch(47.6% 0.165 12.6);
Tailwind
colors: {
  custom: {
    50: '#c66a76',
    500: '#a42242',
    950: '#000000',
  },
}
SCSS
$custom: #a42242;
$custom-light: #c66a76;
$custom-dark: #000000;
JSON
{
  "hex": "#a42242",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 345.231,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.16499,
    "h": 12.6
  },
  "luminance": 0.0943
}

Semantic roles & 50–950 ramp

primary
#A42242
secondary
#5EC4AB
accent
#E9BF3F
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A42242

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

Preview Lab → · Contrast checker → · Palette generator →

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