#7E2C20#7E2C20

#7E2C20 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.116 H 30.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7E2C20
RGBrgb(126, 44, 32)
HSLhsl(8, 59%, 31%)
HSVhsv(8, 75%, 49%)
CMYKcmyk(0%, 65.1%, 74.6%, 50.6%)
CIE-LABlab(30.26, 34.79, 26.33)
CIE-LCHlch(30.26, 43.63, 37.12°)
OKLaboklab(41.21% 0.0999 0.0598)
OKLCHoklch(41.21% 0.116 30.9)
XYZxyz(9.7666, 6.3426, 2.0762)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C20 #20727E
analogous
#7E2043 #7E2C20 #7E5B20
triadic
#7E2C20 #207E2C #2C207E
tetradic
#7E2C20 #437E20 #20727E #5B207E
square
#7E2C20 #437E20 #20727E #5B207E
split-complementary
#7E2C20 #207E5B #20437E
monochromatic
#1C0A07 #4D1B14 #7E2C20 #AF3D2C #D05948

Accessibility & contrast

On white

9.26
#7E2C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E2C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C20
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C20#FFFFFF#000000##FFFFFF
##7E2C201.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1E
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#8B182A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c20;
/* rgb */ color: rgb(126, 44, 32);
/* oklch */ color: oklch(41.2% 0.116 30.9);
Tailwind
colors: {
  custom: {
    50: '#aa695c',
    500: '#7e2c20',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c20;
$custom-light: #aa695c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c20",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 32
  },
  "hsl": {
    "h": 7.66,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41207,
    "c": 0.1164,
    "h": 30.9
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#7E2C20
secondary
#49A4B1
accent
#CFE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2C20

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

Preview Lab → · Contrast checker → · Palette generator →

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