#A42F28#A42F28

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

Color values

HEX#A42F28
RGBrgb(164, 47, 40)
HSLhsl(3, 61%, 40%)
HSVhsv(3, 76%, 64%)
CMYKcmyk(0%, 71.3%, 75.6%, 35.7%)
CIE-LABlab(37.99, 47.40, 32.19)
CIE-LCHlch(37.99, 57.30, 34.18°)
OKLaboklab(48.36% 0.1365 0.0721)
OKLCHoklch(48.36% 0.154 27.8)
XYZxyz(16.7113, 10.0813, 3.0730)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F28 #289DA4
analogous
#A4285F #A42F28 #A46D28
triadic
#A42F28 #28A42F #2F28A4
tetradic
#A42F28 #5FA428 #289DA4 #6D28A4
square
#A42F28 #5FA428 #289DA4 #6D28A4
split-complementary
#A42F28 #28A46D #285FA4
monochromatic
#421310 #73211C #A42F28 #CF433A #DB726B

Accessibility & contrast

On white

6.96
#A42F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A42F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F28
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F28#FFFFFF#000000##FFFFFF
##A42F281.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514926
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#B5022E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a42f28;
/* rgb */ color: rgb(164, 47, 40);
/* oklch */ color: oklch(48.4% 0.154 27.8);
Tailwind
colors: {
  custom: {
    50: '#c76f62',
    500: '#a42f28',
    950: '#000000',
  },
}
SCSS
$custom: #a42f28;
$custom-light: #c76f62;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f28",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 3.387,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.48363,
    "c": 0.15436,
    "h": 27.8
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#A42F28
secondary
#66BCC1
accent
#DBE444
background
#FDF7F5
surface
#FAEDEA
border
#D3C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #A42F28

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

Preview Lab → · Contrast checker → · Palette generator →

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