#A42845#A42845

#A42845 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.2% C 0.160 H 12.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A42845
RGBrgb(164, 40, 69)
HSLhsl(346, 61%, 40%)
HSVhsv(346, 76%, 64%)
CMYKcmyk(0%, 75.6%, 57.9%, 35.7%)
CIE-LABlab(37.56, 51.66, 13.67)
CIE-LCHlch(37.56, 53.44, 14.83°)
OKLaboklab(48.2% 0.156 0.0341)
OKLCHoklch(48.2% 0.16 12.3)
XYZxyz(17.1445, 9.8422, 6.6260)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42845 #28A487
analogous
#A42883 #A42845 #A44928
triadic
#A42845 #45A428 #2845A4
tetradic
#A42845 #83A428 #28A487 #4928A4
square
#A42845 #83A428 #28A487 #4928A4
split-complementary
#A42845 #28A449 #2883A4
monochromatic
#42101C #731C30 #A42845 #CF3A5D #DB6B85

Accessibility & contrast

On white

7.08
#A42845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A42845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42845
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42845#FFFFFF#000000##FFFFFF
##A428451.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494845
Deuteranopia (green-blind)
#696242
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42845;
/* rgb */ color: rgb(164, 40, 69);
/* oklch */ color: oklch(48.2% 0.160 12.3);
Tailwind
colors: {
  custom: {
    50: '#c56d78',
    500: '#a42845',
    950: '#000000',
  },
}
SCSS
$custom: #a42845;
$custom-light: #c56d78;
$custom-dark: #000000;
JSON
{
  "hex": "#a42845",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 345.968,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.15967,
    "h": 12.3
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#A42845
secondary
#66C1AC
accent
#E4BE44
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140808
muted
#827B7B

Preview Lab

Preview with #A42845

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

Preview Lab → · Contrast checker → · Palette generator →

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