#A42F1F#A42F1F

#A42F1F is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.3% C 0.156 H 31.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A42F1F
RGBrgb(164, 47, 31)
HSLhsl(7, 68%, 38%)
HSVhsv(7, 81%, 64%)
CMYKcmyk(0%, 71.3%, 81.1%, 35.7%)
CIE-LABlab(37.89, 47.06, 37.16)
CIE-LCHlch(37.89, 59.96, 38.30°)
OKLaboklab(48.26% 0.1336 0.0803)
OKLCHoklch(48.26% 0.156 31)
XYZxyz(16.5756, 10.0270, 2.3587)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42F1F #1F94A4
analogous
#A41F51 #A42F1F #A4711F
triadic
#A42F1F #1FA42F #2F1FA4
tetradic
#A42F1F #51A41F #1F94A4 #711FA4
square
#A42F1F #51A41F #1F94A4 #711FA4
split-complementary
#A42F1F #1FA471 #1F51A4
monochromatic
#3D110C #712015 #A42F1F #D73E2A #E06D5D

Accessibility & contrast

On white

6.99
#A42F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#A42F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42F1F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42F1F#FFFFFF#000000##FFFFFF
##A42F1F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491C
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#B5002C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a42f1f;
/* rgb */ color: rgb(164, 47, 31);
/* oklch */ color: oklch(48.3% 0.156 31.0);
Tailwind
colors: {
  custom: {
    50: '#c86f5c',
    500: '#a42f1f',
    950: '#000000',
  },
}
SCSS
$custom: #a42f1f;
$custom-light: #c86f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a42f1f",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 7.218,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.15585,
    "h": 31
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#A42F1F
secondary
#5AB8C5
accent
#D6EB3D
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A42F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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