#7E3239#7E3239

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

Color values

HEX#7E3239
RGBrgb(126, 50, 57)
HSLhsl(354, 43%, 35%)
HSVhsv(354, 60%, 49%)
CMYKcmyk(0%, 60.3%, 54.8%, 50.6%)
CIE-LABlab(31.84, 33.60, 12.46)
CIE-LCHlch(31.84, 35.83, 20.35°)
OKLaboklab(42.54% 0.1009 0.0312)
OKLCHoklch(42.54% 0.106 17.2)
XYZxyz(10.4842, 7.0135, 4.6717)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3239 #327E77
analogous
#7E325F #7E3239 #7E5132
triadic
#7E3239 #397E32 #32397E
tetradic
#7E3239 #5F7E32 #327E77 #51327E
square
#7E3239 #5F7E32 #327E77 #51327E
split-complementary
#7E3239 #327E51 #325F7E
monochromatic
#260F11 #522125 #7E3239 #AA434D #C36870

Accessibility & contrast

On white

8.74
#7E3239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E3239
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3239#FFFFFF#000000##FFFFFF
##7E32391.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444139
Deuteranopia (green-blind)
#575137
Tritanopia (blue-blind)
#8A2635
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e3239;
/* rgb */ color: rgb(126, 50, 57);
/* oklch */ color: oklch(42.5% 0.106 17.2);
Tailwind
colors: {
  custom: {
    50: '#a86d6f',
    500: '#7e3239',
    950: '#000000',
  },
}
SCSS
$custom: #7e3239;
$custom-light: #a86d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3239",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 354.474,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.10557,
    "h": 17.2
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#7E3239
secondary
#61ABA4
accent
#D3C755
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E3239

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

Preview Lab → · Contrast checker → · Palette generator →

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