#7E2E20#7E2E20

#7E2E20 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.114 H 32.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7E2E20
RGBrgb(126, 46, 32)
HSLhsl(9, 59%, 31%)
HSVhsv(9, 75%, 49%)
CMYKcmyk(0%, 63.5%, 74.6%, 50.6%)
CIE-LABlab(30.63, 33.81, 26.75)
CIE-LCHlch(30.63, 43.11, 38.34°)
OKLaboklab(41.48% 0.0968 0.0607)
OKLCHoklch(41.48% 0.114 32.1)
XYZxyz(9.8429, 6.4952, 2.1016)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E20 #20707E
analogous
#7E2041 #7E2E20 #7E5D20
triadic
#7E2E20 #207E2E #2E207E
tetradic
#7E2E20 #417E20 #20707E #5D207E
square
#7E2E20 #417E20 #20707E #5D207E
split-complementary
#7E2E20 #207E5D #20417E
monochromatic
#1C0A07 #4D1C14 #7E2E20 #AF402C #D05C48

Accessibility & contrast

On white

9.14
#7E2E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E2E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E20
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E20#FFFFFF#000000##FFFFFF
##7E2E201.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1E
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#8B1B2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e20;
/* rgb */ color: rgb(126, 46, 32);
/* oklch */ color: oklch(41.5% 0.114 32.1);
Tailwind
colors: {
  custom: {
    50: '#aa6a5c',
    500: '#7e2e20',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e20;
$custom-light: #aa6a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e20",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 32
  },
  "hsl": {
    "h": 8.936,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.11427,
    "h": 32.1
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#7E2E20
secondary
#49A1B1
accent
#CBE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2E20

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

Preview Lab → · Contrast checker → · Palette generator →

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