#7A291F#7A291F

#7A291F is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.1% C 0.115 H 30.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7A291F
RGBrgb(122, 41, 31)
HSLhsl(7, 59%, 30%)
HSVhsv(7, 75%, 48%)
CMYKcmyk(0%, 66.4%, 74.6%, 52.2%)
CIE-LABlab(28.96, 34.66, 25.26)
CIE-LCHlch(28.96, 42.89, 36.09°)
OKLaboklab(40.09% 0.0997 0.0575)
OKLCHoklch(40.09% 0.115 30)
XYZxyz(9.0673, 5.8237, 1.9427)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A291F #1F707A
analogous
#7A1F43 #7A291F #7A561F
triadic
#7A291F #1F7A29 #291F7A
tetradic
#7A291F #437A1F #1F707A #561F7A
square
#7A291F #437A1F #1F707A #561F7A
split-complementary
#7A291F #1F7A56 #1F437A
monochromatic
#180806 #491913 #7A291F #AB392B #CF5344

Accessibility & contrast

On white

9.70
#7A291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A291F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A291F#FFFFFF#000000##FFFFFF
##7A291F1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391D
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#861527
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a291f;
/* rgb */ color: rgb(122, 41, 31);
/* oklch */ color: oklch(40.1% 0.115 30.0);
Tailwind
colors: {
  custom: {
    50: '#a7675b',
    500: '#7a291f',
    950: '#000000',
  },
}
SCSS
$custom: #7a291f;
$custom-light: #a7675b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a291f",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 6.593,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.1151,
    "h": 30
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#7A291F
secondary
#47A2AD
accent
#D1E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7A291F

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

Preview Lab → · Contrast checker → · Palette generator →

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