#A42A27#A42A27

#A42A27 is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.8% C 0.159 H 26.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A42A27
RGBrgb(164, 42, 39)
HSLhsl(1, 62%, 40%)
HSVhsv(1, 76%, 64%)
CMYKcmyk(0%, 74.4%, 76.2%, 35.7%)
CIE-LABlab(37.29, 49.24, 32.01)
CIE-LCHlch(37.29, 58.73, 33.03°)
OKLaboklab(47.84% 0.1421 0.0714)
OKLCHoklch(47.84% 0.159 26.7)
XYZxyz(16.5059, 9.6975, 2.9217)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A27 #27A1A4
analogous
#A42763 #A42A27 #A46927
triadic
#A42A27 #27A42A #2A27A4
tetradic
#A42A27 #63A427 #27A1A4 #6927A4
square
#A42A27 #63A427 #27A1A4 #6927A4
split-complementary
#A42A27 #27A469 #2763A4
monochromatic
#41110F #731D1B #A42A27 #D03C38 #DC6D6A

Accessibility & contrast

On white

7.15
#A42A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A42A27
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A27#FFFFFF#000000##FFFFFF
##A42A271.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4725
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#B5002B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a42a27;
/* rgb */ color: rgb(164, 42, 39);
/* oklch */ color: oklch(47.8% 0.159 26.7);
Tailwind
colors: {
  custom: {
    50: '#c76d61',
    500: '#a42a27',
    950: '#000000',
  },
}
SCSS
$custom: #a42a27;
$custom-light: #c76d61;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a27",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 1.44,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47841,
    "c": 0.15902,
    "h": 26.7
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#A42A27
secondary
#65C0C2
accent
#E1E543
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150805
muted
#837B79

Preview Lab

Preview with #A42A27

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

Preview Lab → · Contrast checker → · Palette generator →

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