#7E2E24#7E2E24

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

Color values

HEX#7E2E24
RGBrgb(126, 46, 36)
HSLhsl(7, 56%, 32%)
HSVhsv(7, 71%, 49%)
CMYKcmyk(0%, 63.5%, 71.4%, 50.6%)
CIE-LABlab(30.68, 34.03, 24.37)
CIE-LCHlch(30.68, 41.86, 35.61°)
OKLaboklab(41.54% 0.0984 0.0563)
OKLCHoklch(41.54% 0.113 29.8)
XYZxyz(9.9006, 6.5183, 2.4055)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E24 #24747E
analogous
#7E2447 #7E2E24 #7E5B24
triadic
#7E2E24 #247E2E #2E247E
tetradic
#7E2E24 #477E24 #24747E #5B247E
square
#7E2E24 #477E24 #24747E #5B247E
split-complementary
#7E2E24 #247E5B #24477E
monochromatic
#1F0B09 #4E1D16 #7E2E24 #AE3F32 #CD5D50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2E24#FFFFFF#000000##FFFFFF
##7E2E241.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)
#433D23
Deuteranopia (green-blind)
#574F22
Tritanopia (blue-blind)
#8B1C2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e24;
/* rgb */ color: rgb(126, 46, 36);
/* oklch */ color: oklch(41.5% 0.113 29.8);
Tailwind
colors: {
  custom: {
    50: '#a96a5f',
    500: '#7e2e24',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e24;
$custom-light: #a96a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e24",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 36
  },
  "hsl": {
    "h": 6.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41544,
    "c": 0.11332,
    "h": 29.8
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#7E2E24
secondary
#4EA5B0
accent
#CEDF49
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2E24

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

Preview Lab → · Contrast checker → · Palette generator →

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