#7E2720#7E2720

#7E2720 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.122 H 28.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7E2720
RGBrgb(126, 39, 32)
HSLhsl(4, 59%, 31%)
HSVhsv(4, 75%, 49%)
CMYKcmyk(0%, 69%, 74.6%, 50.6%)
CIE-LABlab(29.39, 37.12, 25.34)
CIE-LCHlch(29.39, 44.95, 34.31°)
OKLaboklab(40.56% 0.1072 0.0576)
OKLCHoklch(40.56% 0.122 28.3)
XYZxyz(9.5915, 5.9923, 2.0178)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2720 #20777E
analogous
#7E2048 #7E2720 #7E5620
triadic
#7E2720 #207E27 #27207E
tetradic
#7E2720 #487E20 #20777E #56207E
square
#7E2720 #487E20 #20777E #56207E
split-complementary
#7E2720 #207E56 #20487E
monochromatic
#1C0907 #4D1814 #7E2720 #AF362C #D05248

Accessibility & contrast

On white

9.55
#7E2720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2720
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2720#FFFFFF#000000##FFFFFF
##7E27201.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391F
Deuteranopia (green-blind)
#554C1D
Tritanopia (blue-blind)
#8B0F26
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2720;
/* rgb */ color: rgb(126, 39, 32);
/* oklch */ color: oklch(40.6% 0.122 28.3);
Tailwind
colors: {
  custom: {
    50: '#aa665c',
    500: '#7e2720',
    950: '#000000',
  },
}
SCSS
$custom: #7e2720;
$custom-light: #aa665c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2720",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 32
  },
  "hsl": {
    "h": 4.468,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.12169,
    "h": 28.3
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#7E2720
secondary
#49A9B1
accent
#D7E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2720

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

Preview Lab → · Contrast checker → · Palette generator →

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