#7E332D#7E332D

#7E332D is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.4% C 0.106 H 27.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7E332D
RGBrgb(126, 51, 45)
HSLhsl(4, 47%, 34%)
HSVhsv(4, 64%, 49%)
CMYKcmyk(0%, 59.5%, 64.3%, 50.6%)
CIE-LABlab(31.79, 32.09, 20.10)
CIE-LCHlch(31.79, 37.86, 32.06°)
OKLaboklab(42.43% 0.0941 0.0481)
OKLCHoklch(42.43% 0.106 27.1)
XYZxyz(10.2626, 6.9940, 3.2917)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E332D #2D787E
analogous
#7E2D4F #7E332D #7E5B2D
triadic
#7E332D #2D7E33 #332D7E
tetradic
#7E332D #4F7E2D #2D787E #5B2D7E
square
#7E332D #4F7E2D #2D787E #5B2D7E
split-complementary
#7E332D #2D7E5B #2D4F7E
monochromatic
#240E0D #51211D #7E332D #AB453D #C6675F

Accessibility & contrast

On white

8.76
#7E332D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E332D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E332D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E332D#FFFFFF#000000##FFFFFF
##7E332D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412C
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#8A2532
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e332d;
/* rgb */ color: rgb(126, 51, 45);
/* oklch */ color: oklch(42.4% 0.106 27.1);
Tailwind
colors: {
  custom: {
    50: '#a86e66',
    500: '#7e332d',
    950: '#000000',
  },
}
SCSS
$custom: #7e332d;
$custom-light: #a86e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e332d",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 45
  },
  "hsl": {
    "h": 4.444,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42427,
    "c": 0.10565,
    "h": 27.1
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#7E332D
secondary
#5AA6AC
accent
#CDD751
background
#FAF6F6
surface
#F5ECEB
border
#CFC7C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E332D

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

Preview Lab → · Contrast checker → · Palette generator →

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