#7A2A1F#7A2A1F

#7A2A1F is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.2% C 0.114 H 30.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7A2A1F
RGBrgb(122, 42, 31)
HSLhsl(7, 59%, 30%)
HSVhsv(7, 75%, 48%)
CMYKcmyk(0%, 65.6%, 74.6%, 52.2%)
CIE-LABlab(29.14, 34.18, 25.47)
CIE-LCHlch(29.14, 42.62, 36.69°)
OKLaboklab(40.22% 0.0982 0.0579)
OKLCHoklch(40.22% 0.114 30.5)
XYZxyz(9.1023, 5.8937, 1.9544)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A1F #1F6F7A
analogous
#7A1F41 #7A2A1F #7A581F
triadic
#7A2A1F #1F7A2A #2A1F7A
tetradic
#7A2A1F #417A1F #1F6F7A #581F7A
square
#7A2A1F #417A1F #1F6F7A #581F7A
split-complementary
#7A2A1F #1F7A58 #1F417A
monochromatic
#180806 #491913 #7A2A1F #AB3B2B #CF5544

Accessibility & contrast

On white

9.64
#7A2A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A2A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A1F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A1F#FFFFFF#000000##FFFFFF
##7A2A1F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1D
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#861728
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a2a1f;
/* rgb */ color: rgb(122, 42, 31);
/* oklch */ color: oklch(40.2% 0.114 30.5);
Tailwind
colors: {
  custom: {
    50: '#a7685b',
    500: '#7a2a1f',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a1f;
$custom-light: #a7685b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a1f",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 7.253,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.11403,
    "h": 30.5
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#7A2A1F
secondary
#47A1AD
accent
#D0E345
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7A2A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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