#7E2D24#7E2D24

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

Color values

HEX#7E2D24
RGBrgb(126, 45, 36)
HSLhsl(6, 56%, 32%)
HSVhsv(6, 71%, 49%)
CMYKcmyk(0%, 64.3%, 71.4%, 50.6%)
CIE-LABlab(30.50, 34.52, 24.15)
CIE-LCHlch(30.50, 42.13, 34.97°)
OKLaboklab(41.4% 0.0999 0.0558)
OKLCHoklch(41.4% 0.114 29.2)
XYZxyz(9.8620, 6.4411, 2.3927)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D24 #24757E
analogous
#7E2448 #7E2D24 #7E5A24
triadic
#7E2D24 #247E2D #2D247E
tetradic
#7E2D24 #487E24 #24757E #5A247E
square
#7E2D24 #487E24 #24757E #5A247E
split-complementary
#7E2D24 #247E5A #24487E
monochromatic
#1F0B09 #4E1C16 #7E2D24 #AE3E32 #CD5C50

Accessibility & contrast

On white

9.18
#7E2D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2D24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D24
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D24#FFFFFF#000000##FFFFFF
##7E2D241.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D23
Deuteranopia (green-blind)
#574E22
Tritanopia (blue-blind)
#8B1B2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d24;
/* rgb */ color: rgb(126, 45, 36);
/* oklch */ color: oklch(41.4% 0.114 29.2);
Tailwind
colors: {
  custom: {
    50: '#a96a5f',
    500: '#7e2d24',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d24;
$custom-light: #a96a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d24",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 36
  },
  "hsl": {
    "h": 6,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.11443,
    "h": 29.2
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#7E2D24
secondary
#4EA6B0
accent
#D0DF49
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2D24

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

Preview Lab → · Contrast checker → · Palette generator →

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