#7E3333#7E3333

#7E3333 is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.5% C 0.105 H 22.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7E3333
RGBrgb(126, 51, 51)
HSLhsl(0, 42%, 35%)
HSVhsv(0, 60%, 49%)
CMYKcmyk(0%, 59.5%, 59.5%, 50.6%)
CIE-LABlab(31.91, 32.55, 16.42)
CIE-LCHlch(31.91, 36.46, 26.77°)
OKLaboklab(42.55% 0.0967 0.0402)
OKLCHoklch(42.55% 0.105 22.6)
XYZxyz(10.3864, 7.0436, 3.9439)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3333 #337E7E
analogous
#7E3359 #7E3333 #7E5933
triadic
#7E3333 #337E33 #33337E
tetradic
#7E3333 #597E33 #337E7E #59337E
square
#7E3333 #597E33 #337E7E #59337E
split-complementary
#7E3333 #337E59 #33597E
monochromatic
#271010 #522121 #7E3333 #AA4545 #C26969

Accessibility & contrast

On white

8.72
#7E3333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E3333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3333
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3333#FFFFFF#000000##FFFFFF
##7E33331.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454132
Deuteranopia (green-blind)
#585131
Tritanopia (blue-blind)
#8A2634
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e3333;
/* rgb */ color: rgb(126, 51, 51);
/* oklch */ color: oklch(42.5% 0.105 22.6);
Tailwind
colors: {
  custom: {
    50: '#a86e6a',
    500: '#7e3333',
    950: '#000000',
  },
}
SCSS
$custom: #7e3333;
$custom-light: #a86e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3333",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 0,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.10467,
    "h": 22.6
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#7E3333
secondary
#63AAAA
accent
#D2D256
background
#FAF6F6
surface
#F4ECEB
border
#CEC7C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7E3333

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

Preview Lab → · Contrast checker → · Palette generator →

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