#7E2D21#7E2D21

#7E2D21 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.115 H 30.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7E2D21
RGBrgb(126, 45, 33)
HSLhsl(8, 58%, 31%)
HSVhsv(8, 74%, 49%)
CMYKcmyk(0%, 64.3%, 73.8%, 50.6%)
CIE-LABlab(30.46, 34.36, 25.95)
CIE-LCHlch(30.46, 43.05, 37.06°)
OKLaboklab(41.36% 0.0987 0.0592)
OKLCHoklch(41.36% 0.115 30.9)
XYZxyz(9.8181, 6.4236, 2.1614)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D21 #21727E
analogous
#7E2143 #7E2D21 #7E5B21
triadic
#7E2D21 #217E2D #2D217E
tetradic
#7E2D21 #437E21 #21727E #5B217E
square
#7E2D21 #437E21 #21727E #5B217E
split-complementary
#7E2D21 #217E5B #21437E
monochromatic
#1D0A08 #4E1C14 #7E2D21 #AE3E2E #D05B4A

Accessibility & contrast

On white

9.19
#7E2D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D21
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D21#FFFFFF#000000##FFFFFF
##7E2D211.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D1F
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#8B1A2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d21;
/* rgb */ color: rgb(126, 45, 33);
/* oklch */ color: oklch(41.4% 0.115 30.9);
Tailwind
colors: {
  custom: {
    50: '#aa6a5d',
    500: '#7e2d21',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d21;
$custom-light: #aa6a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d21",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 33
  },
  "hsl": {
    "h": 7.742,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.1151,
    "h": 30.9
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#7E2D21
secondary
#4AA3B1
accent
#CEE246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2D21

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

Preview Lab → · Contrast checker → · Palette generator →

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