#7E2B20#7E2B20

#7E2B20 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.117 H 30.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7E2B20
RGBrgb(126, 43, 32)
HSLhsl(7, 59%, 31%)
HSVhsv(7, 75%, 49%)
CMYKcmyk(0%, 65.9%, 74.6%, 50.6%)
CIE-LABlab(30.08, 35.27, 26.12)
CIE-LCHlch(30.08, 43.89, 36.53°)
OKLaboklab(41.07% 0.1014 0.0594)
OKLCHoklch(41.07% 0.117 30.3)
XYZxyz(9.7298, 6.2690, 2.0639)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B20 #20737E
analogous
#7E2044 #7E2B20 #7E5A20
triadic
#7E2B20 #207E2B #2B207E
tetradic
#7E2B20 #447E20 #20737E #5A207E
square
#7E2B20 #447E20 #20737E #5A207E
split-complementary
#7E2B20 #207E5A #20447E
monochromatic
#1C0A07 #4D1A14 #7E2B20 #AF3C2C #D05848

Accessibility & contrast

On white

9.32
#7E2B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B20
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B20#FFFFFF#000000##FFFFFF
##7E2B201.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1E
Deuteranopia (green-blind)
#564E1D
Tritanopia (blue-blind)
#8B1629
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b20;
/* rgb */ color: rgb(126, 43, 32);
/* oklch */ color: oklch(41.1% 0.117 30.3);
Tailwind
colors: {
  custom: {
    50: '#aa695c',
    500: '#7e2b20',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b20;
$custom-light: #aa695c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b20",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 32
  },
  "hsl": {
    "h": 7.021,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41072,
    "c": 0.11747,
    "h": 30.3
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#7E2B20
secondary
#49A5B1
accent
#D0E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2B20

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

Preview Lab → · Contrast checker → · Palette generator →

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