#7E2A20#7E2A20

#7E2A20 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.119 H 29.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7E2A20
RGBrgb(126, 42, 32)
HSLhsl(6, 59%, 31%)
HSVhsv(6, 75%, 49%)
CMYKcmyk(0%, 66.7%, 74.6%, 50.6%)
CIE-LABlab(29.90, 35.74, 25.92)
CIE-LCHlch(29.90, 44.15, 35.95°)
OKLaboklab(40.94% 0.1029 0.0589)
OKLCHoklch(40.94% 0.119 29.8)
XYZxyz(9.6939, 6.1972, 2.0520)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A20 #20747E
analogous
#7E2045 #7E2A20 #7E5920
triadic
#7E2A20 #207E2A #2A207E
tetradic
#7E2A20 #457E20 #20747E #59207E
square
#7E2A20 #457E20 #20747E #59207E
split-complementary
#7E2A20 #207E59 #20457E
monochromatic
#1C0907 #4D1A14 #7E2A20 #AF3A2C #D05648

Accessibility & contrast

On white

9.38
#7E2A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A20
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A20#FFFFFF#000000##FFFFFF
##7E2A201.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1E
Deuteranopia (green-blind)
#564D1D
Tritanopia (blue-blind)
#8B1528
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2a20;
/* rgb */ color: rgb(126, 42, 32);
/* oklch */ color: oklch(40.9% 0.119 29.8);
Tailwind
colors: {
  custom: {
    50: '#aa685c',
    500: '#7e2a20',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a20;
$custom-light: #aa685c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a20",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 32
  },
  "hsl": {
    "h": 6.383,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.11853,
    "h": 29.8
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#7E2A20
secondary
#49A6B1
accent
#D2E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2A20

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

Preview Lab → · Contrast checker → · Palette generator →

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