#7E2D2E#7E2D2E

#7E2D2E is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.113 H 22.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7E2D2E
RGBrgb(126, 45, 46)
HSLhsl(359, 47%, 34%)
HSVhsv(359, 64%, 49%)
CMYKcmyk(0%, 64.3%, 63.5%, 50.6%)
CIE-LABlab(30.67, 35.18, 18.02)
CIE-LCHlch(30.67, 39.53, 27.13°)
OKLaboklab(41.58% 0.104 0.0435)
OKLCHoklch(41.58% 0.113 22.7)
XYZxyz(10.0367, 6.5110, 3.3125)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D2E #2D7E7D
analogous
#7E2D56 #7E2D2E #7E542D
triadic
#7E2D2E #2E7E2D #2D2E7E
tetradic
#7E2D2E #567E2D #2D7E7D #542D7E
square
#7E2D2E #567E2D #2D7E7D #542D7E
split-complementary
#7E2D2E #2D7E54 #2D567E
monochromatic
#240D0D #511D1E #7E2D2E #AB3D3E #C65F61

Accessibility & contrast

On white

9.12
#7E2D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D2E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D2E#FFFFFF#000000##FFFFFF
##7E2D2E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D2D
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#8A1D2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d2e;
/* rgb */ color: rgb(126, 45, 46);
/* oklch */ color: oklch(41.6% 0.113 22.7);
Tailwind
colors: {
  custom: {
    50: '#a96a66',
    500: '#7e2d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d2e;
$custom-light: #a96a66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d2e",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 359.259,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.11272,
    "h": 22.7
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#7E2D2E
secondary
#5AACAB
accent
#D7D551
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E2D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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