#7A2E17#7A2E17

#7A2E17 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.7% C 0.112 H 37.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7A2E17
RGBrgb(122, 46, 23)
HSLhsl(14, 68%, 28%)
HSVhsv(14, 81%, 48%)
CMYKcmyk(0%, 62.3%, 81.1%, 52.2%)
CIE-LABlab(29.80, 31.82, 30.85)
CIE-LCHlch(29.80, 44.32, 44.12°)
OKLaboklab(40.69% 0.0893 0.0675)
OKLCHoklch(40.69% 0.112 37.1)
XYZxyz(9.1587, 6.1547, 1.5161)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E17 #17637A
analogous
#7A1731 #7A2E17 #7A5F17
triadic
#7A2E17 #177A2E #2E177A
tetradic
#7A2E17 #317A17 #17637A #5F177A
square
#7A2E17 #317A17 #17637A #5F177A
split-complementary
#7A2E17 #177A5F #17317A
monochromatic
#1A0A05 #471B0D #7A2E17 #AD4121 #D95933

Accessibility & contrast

On white

9.41
#7A2E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A2E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E17
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E17#FFFFFF#000000##FFFFFF
##7A2E171.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#871C29
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a2e17;
/* rgb */ color: rgb(122, 46, 23);
/* oklch */ color: oklch(40.7% 0.112 37.1);
Tailwind
colors: {
  custom: {
    50: '#a76a55',
    500: '#7a2e17',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e17;
$custom-light: #a76a55;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e17",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 13.939,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.11191,
    "h": 37.1
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#7A2E17
secondary
#3E95AF
accent
#C3EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A2E17

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

Preview Lab → · Contrast checker → · Palette generator →

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