#A42740#A42740

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

Color values

HEX#A42740
RGBrgb(164, 39, 64)
HSLhsl(348, 62%, 40%)
HSVhsv(348, 76%, 64%)
CMYKcmyk(0%, 76.2%, 61%, 35.7%)
CIE-LABlab(37.33, 51.64, 16.56)
CIE-LCHlch(37.33, 54.23, 17.78°)
OKLaboklab(48% 0.1551 0.0406)
OKLCHoklch(48% 0.16 14.7)
XYZxyz(16.9625, 9.7162, 5.8317)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42740 #27A48B
analogous
#A4277F #A42740 #A44D27
triadic
#A42740 #40A427 #2740A4
tetradic
#A42740 #7FA427 #27A48B #4D27A4
square
#A42740 #7FA427 #27A48B #4D27A4
split-complementary
#A42740 #27A44D #277FA4
monochromatic
#410F19 #731B2D #A42740 #D03857 #DC6A81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42740#FFFFFF#000000##FFFFFF
##A427401.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)
#494740
Deuteranopia (green-blind)
#69613D
Tritanopia (blue-blind)
#B40032
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42740;
/* rgb */ color: rgb(164, 39, 64);
/* oklch */ color: oklch(48.0% 0.160 14.7);
Tailwind
colors: {
  custom: {
    50: '#c66c74',
    500: '#a42740',
    950: '#000000',
  },
}
SCSS
$custom: #a42740;
$custom-light: #c66c74;
$custom-dark: #000000;
JSON
{
  "hex": "#a42740",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 348,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47998,
    "c": 0.16028,
    "h": 14.7
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#A42740
secondary
#65C2AF
accent
#E5C443
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #A42740

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

Preview Lab → · Contrast checker → · Palette generator →

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