#7A311D#7A311D

#7A311D is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.107 H 36.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7A311D
RGBrgb(122, 49, 29)
HSLhsl(13, 62%, 30%)
HSVhsv(13, 76%, 48%)
CMYKcmyk(0%, 59.8%, 76.2%, 52.2%)
CIE-LABlab(30.46, 30.54, 28.14)
CIE-LCHlch(30.46, 41.52, 42.66°)
OKLaboklab(41.21% 0.0865 0.0633)
OKLCHoklch(41.21% 0.107 36.2)
XYZxyz(9.3471, 6.4242, 1.9099)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A311D #1D667A
analogous
#7A1D38 #7A311D #7A601D
triadic
#7A311D #1D7A31 #311D7A
tetradic
#7A311D #387A1D #1D667A #601D7A
square
#7A311D #387A1D #1D667A #601D7A
split-complementary
#7A311D #1D7A60 #1D387A
monochromatic
#190A06 #491D11 #7A311D #AB4529 #D25F40

Accessibility & contrast

On white

9.19
#7A311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A311D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A311D#FFFFFF#000000##FFFFFF
##7A311D1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1B
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#86212D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a311d;
/* rgb */ color: rgb(122, 49, 29);
/* oklch */ color: oklch(41.2% 0.107 36.2);
Tailwind
colors: {
  custom: {
    50: '#a76c5a',
    500: '#7a311d',
    950: '#000000',
  },
}
SCSS
$custom: #7a311d;
$custom-light: #a76c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a311d",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 12.903,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41206,
    "c": 0.10716,
    "h": 36.2
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#7A311D
secondary
#4597AE
accent
#C2E543
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7A311D

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

Preview Lab → · Contrast checker → · Palette generator →

#7A311D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva