#A42742#A42742

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

Color values

HEX#A42742
RGBrgb(164, 39, 66)
HSLhsl(347, 62%, 40%)
HSVhsv(347, 76%, 64%)
CMYKcmyk(0%, 76.2%, 59.8%, 35.7%)
CIE-LABlab(37.37, 51.78, 15.34)
CIE-LCHlch(37.37, 54.00, 16.50°)
OKLaboklab(48.04% 0.1559 0.0379)
OKLCHoklch(48.04% 0.16 13.7)
XYZxyz(17.0204, 9.7394, 6.1369)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42742 #27A489
analogous
#A42781 #A42742 #A44B27
triadic
#A42742 #42A427 #2742A4
tetradic
#A42742 #81A427 #27A489 #4B27A4
square
#A42742 #81A427 #27A489 #4B27A4
split-complementary
#A42742 #27A44B #2781A4
monochromatic
#410F1A #731B2E #A42742 #D03859 #DC6A82

Accessibility & contrast

On white

7.12
#A42742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A42742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42742
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42742#FFFFFF#000000##FFFFFF
##A427421.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494742
Deuteranopia (green-blind)
#69613F
Tritanopia (blue-blind)
#B40032
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42742;
/* rgb */ color: rgb(164, 39, 66);
/* oklch */ color: oklch(48.0% 0.160 13.7);
Tailwind
colors: {
  custom: {
    50: '#c66c76',
    500: '#a42742',
    950: '#000000',
  },
}
SCSS
$custom: #a42742;
$custom-light: #c66c76;
$custom-dark: #000000;
JSON
{
  "hex": "#a42742",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 66
  },
  "hsl": {
    "h": 347.04,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.1604,
    "h": 13.7
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#A42742
secondary
#65C2AE
accent
#E5C243
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B

Preview Lab

Preview with #A42742

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

Preview Lab → · Contrast checker → · Palette generator →

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