#A42945#A42945

#A42945 is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.3% C 0.159 H 12.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A42945
RGBrgb(164, 41, 69)
HSLhsl(346, 60%, 40%)
HSVhsv(346, 75%, 64%)
CMYKcmyk(0%, 75%, 57.9%, 35.7%)
CIE-LABlab(37.68, 51.31, 13.84)
CIE-LCHlch(37.68, 53.15, 15.10°)
OKLaboklab(48.29% 0.1549 0.0345)
OKLCHoklch(48.29% 0.159 12.6)
XYZxyz(17.1786, 9.9105, 6.6374)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42945 #29A488
analogous
#A42983 #A42945 #A44A29
triadic
#A42945 #45A429 #2945A4
tetradic
#A42945 #83A429 #29A488 #4A29A4
square
#A42945 #83A429 #29A488 #4A29A4
split-complementary
#A42945 #29A44A #2983A4
monochromatic
#42111C #731D30 #A42945 #CE3C5D #DA6D86

Accessibility & contrast

On white

7.04
#A42945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A42945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42945
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42945#FFFFFF#000000##FFFFFF
##A429451.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4945
Deuteranopia (green-blind)
#696242
Tritanopia (blue-blind)
#B40135
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a42945;
/* rgb */ color: rgb(164, 41, 69);
/* oklch */ color: oklch(48.3% 0.159 12.6);
Tailwind
colors: {
  custom: {
    50: '#c56d78',
    500: '#a42945',
    950: '#000000',
  },
}
SCSS
$custom: #a42945;
$custom-light: #c56d78;
$custom-dark: #000000;
JSON
{
  "hex": "#a42945",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 346.341,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48294,
    "c": 0.15866,
    "h": 12.6
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#A42945
secondary
#68C1AD
accent
#E3BF45
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140808
muted
#827B7B

Preview Lab

Preview with #A42945

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

Preview Lab → · Contrast checker → · Palette generator →

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