#7A2917#7A2917

#7A2917 is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.117 H 34.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7A2917
RGBrgb(122, 41, 23)
HSLhsl(11, 68%, 28%)
HSVhsv(11, 81%, 48%)
CMYKcmyk(0%, 66.4%, 81.1%, 52.2%)
CIE-LABlab(28.87, 34.29, 29.90)
CIE-LCHlch(28.87, 45.49, 41.09°)
OKLaboklab(39.98% 0.0969 0.0654)
OKLCHoklch(39.98% 0.117 34)
XYZxyz(8.9746, 5.7866, 1.4548)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2917 #17687A
analogous
#7A1736 #7A2917 #7A5A17
triadic
#7A2917 #177A29 #29177A
tetradic
#7A2917 #367A17 #17687A #5A177A
square
#7A2917 #367A17 #17687A #5A177A
split-complementary
#7A2917 #177A5A #17367A
monochromatic
#1A0905 #47180D #7A2917 #AD3A21 #D95133

Accessibility & contrast

On white

9.74
#7A2917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2917
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2917#FFFFFF#000000##FFFFFF
##7A29171.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403914
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#871325
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2917;
/* rgb */ color: rgb(122, 41, 23);
/* oklch */ color: oklch(40.0% 0.117 34.0);
Tailwind
colors: {
  custom: {
    50: '#a76755',
    500: '#7a2917',
    950: '#000000',
  },
}
SCSS
$custom: #7a2917;
$custom-light: #a76755;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2917",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 10.909,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.11692,
    "h": 34
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#7A2917
secondary
#3E9AAF
accent
#CBEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A2917

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

Preview Lab → · Contrast checker → · Palette generator →

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