#A42F27#A42F27

#A42F27 is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.4% C 0.155 H 28.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A42F27
RGBrgb(164, 47, 39)
HSLhsl(4, 62%, 40%)
HSVhsv(4, 76%, 64%)
CMYKcmyk(0%, 71.3%, 76.2%, 35.7%)
CIE-LABlab(37.98, 47.36, 32.76)
CIE-LCHlch(37.98, 57.59, 34.67°)
OKLaboklab(48.35% 0.1362 0.0731)
OKLCHoklch(48.35% 0.155 28.2)
XYZxyz(16.6945, 10.0745, 2.9846)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F27 #279CA4
analogous
#A4275E #A42F27 #A46E27
triadic
#A42F27 #27A42F #2F27A4
tetradic
#A42F27 #5EA427 #279CA4 #6E27A4
square
#A42F27 #5EA427 #279CA4 #6E27A4
split-complementary
#A42F27 #27A46E #275EA4
monochromatic
#41130F #73211B #A42F27 #D04238 #DC716A

Accessibility & contrast

On white

6.97
#A42F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A42F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F27
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F27#FFFFFF#000000##FFFFFF
##A42F271.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#B5012E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a42f27;
/* rgb */ color: rgb(164, 47, 39);
/* oklch */ color: oklch(48.4% 0.155 28.2);
Tailwind
colors: {
  custom: {
    50: '#c76f62',
    500: '#a42f27',
    950: '#000000',
  },
}
SCSS
$custom: #a42f27;
$custom-light: #c76f62;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f27",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 3.84,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.15452,
    "h": 28.2
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#A42F27
secondary
#65BCC2
accent
#DAE543
background
#FDF7F5
surface
#FAEDEA
border
#D3C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #A42F27

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

Preview Lab → · Contrast checker → · Palette generator →

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