#7E242E#7E242E

#7E242E is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.123 H 18.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E242E
RGBrgb(126, 36, 46)
HSLhsl(353, 56%, 32%)
HSVhsv(353, 71%, 49%)
CMYKcmyk(0%, 71.4%, 63.5%, 50.6%)
CIE-LABlab(29.15, 39.29, 16.06)
CIE-LCHlch(29.15, 42.44, 22.23°)
OKLaboklab(40.45% 0.117 0.0389)
OKLCHoklch(40.45% 0.123 18.4)
XYZxyz(9.7292, 5.8960, 3.2100)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E242E #247E74
analogous
#7E245B #7E242E #7E4724
triadic
#7E242E #2E7E24 #242E7E
tetradic
#7E242E #5B7E24 #247E74 #47247E
square
#7E242E #5B7E24 #247E74 #47247E
split-complementary
#7E242E #247E47 #245B7E
monochromatic
#1F090B #4E161D #7E242E #AE323F #CD505D

Accessibility & contrast

On white

9.64
#7E242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E242E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E242E#FFFFFF#000000##FFFFFF
##7E242E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392E
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#8A0D28
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e242e;
/* rgb */ color: rgb(126, 36, 46);
/* oklch */ color: oklch(40.4% 0.123 18.4);
Tailwind
colors: {
  custom: {
    50: '#a96566',
    500: '#7e242e',
    950: '#000000',
  },
}
SCSS
$custom: #7e242e;
$custom-light: #a96566;
$custom-dark: #000000;
JSON
{
  "hex": "#7e242e",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 353.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.12334,
    "h": 18.4
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#7E242E
secondary
#4EB0A5
accent
#DFCE49
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E242E

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

Preview Lab → · Contrast checker → · Palette generator →

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