#7E2E39#7E2E39

#7E2E39 is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.111 H 15.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7E2E39
RGBrgb(126, 46, 57)
HSLhsl(352, 47%, 34%)
HSVhsv(352, 63%, 49%)
CMYKcmyk(0%, 63.5%, 54.8%, 50.6%)
CIE-LABlab(31.08, 35.60, 11.43)
CIE-LCHlch(31.08, 37.39, 17.80°)
OKLaboklab(41.97% 0.1072 0.0287)
OKLCHoklch(41.97% 0.111 15)
XYZxyz(10.3206, 6.6863, 4.6172)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E39 #2E7E73
analogous
#7E2E61 #7E2E39 #7E4B2E
triadic
#7E2E39 #397E2E #2E397E
tetradic
#7E2E39 #617E2E #2E7E73 #4B2E7E
square
#7E2E39 #617E2E #2E7E73 #4B2E7E
split-complementary
#7E2E39 #2E7E4B #2E617E
monochromatic
#240D10 #511E25 #7E2E39 #AB3E4D #C5616F

Accessibility & contrast

On white

8.99
#7E2E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E2E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E39
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E39#FFFFFF#000000##FFFFFF
##7E2E391.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F39
Deuteranopia (green-blind)
#554F37
Tritanopia (blue-blind)
#8A2132
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2e39;
/* rgb */ color: rgb(126, 46, 57);
/* oklch */ color: oklch(42.0% 0.111 15.0);
Tailwind
colors: {
  custom: {
    50: '#a86b6f',
    500: '#7e2e39',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e39;
$custom-light: #a86b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e39",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 57
  },
  "hsl": {
    "h": 351.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41971,
    "c": 0.11097,
    "h": 15
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#7E2E39
secondary
#5CACA1
accent
#D6C452
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E2E39

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

Preview Lab → · Contrast checker → · Palette generator →

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