#A42A2F#A42A2F

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

Color values

HEX#A42A2F
RGBrgb(164, 42, 47)
HSLhsl(358, 59%, 40%)
HSVhsv(358, 74%, 64%)
CMYKcmyk(0%, 74.4%, 71.3%, 35.7%)
CIE-LABlab(37.40, 49.60, 27.32)
CIE-LCHlch(37.40, 56.63, 28.84°)
OKLaboklab(47.96% 0.145 0.0629)
OKLCHoklch(47.96% 0.158 23.5)
XYZxyz(16.6528, 9.7562, 3.6951)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A2F #2AA49F
analogous
#A42A6C #A42A2F #A4622A
triadic
#A42A2F #2FA42A #2A2FA4
tetradic
#A42A2F #6CA42A #2AA49F #622AA4
square
#A42A2F #6CA42A #2AA49F #622AA4
split-complementary
#A42A2F #2AA462 #2A6CA4
monochromatic
#431113 #731E21 #A42A2F #CD3E44 #DA6E73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42A2F#FFFFFF#000000##FFFFFF
##A42A2F1.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)
#4D472E
Deuteranopia (green-blind)
#6C622B
Tritanopia (blue-blind)
#B5002D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42a2f;
/* rgb */ color: rgb(164, 42, 47);
/* oklch */ color: oklch(48.0% 0.158 23.5);
Tailwind
colors: {
  custom: {
    50: '#c76d67',
    500: '#a42a2f',
    950: '#000000',
  },
}
SCSS
$custom: #a42a2f;
$custom-light: #c76d67;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a2f",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 357.541,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47955,
    "c": 0.15805,
    "h": 23.5
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#A42A2F
secondary
#69C1BD
accent
#E2DC45
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140806
muted
#837B7A

Preview Lab

Preview with #A42A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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