#7E272E#7E272E

#7E272E is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.8% C 0.120 H 19.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7E272E
RGBrgb(126, 39, 46)
HSLhsl(355, 53%, 32%)
HSVhsv(355, 69%, 49%)
CMYKcmyk(0%, 69%, 63.5%, 50.6%)
CIE-LABlab(29.63, 37.98, 16.68)
CIE-LCHlch(29.63, 41.48, 23.71°)
OKLaboklab(40.81% 0.1129 0.0404)
OKLCHoklch(40.81% 0.12 19.7)
XYZxyz(9.8238, 6.0853, 3.2415)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E272E #277E77
analogous
#7E275A #7E272E #7E4B27
triadic
#7E272E #2E7E27 #272E7E
tetradic
#7E272E #5A7E27 #277E77 #4B277E
square
#7E272E #5A7E27 #277E77 #4B277E
split-complementary
#7E272E #277E4B #275A7E
monochromatic
#210A0C #4F191D #7E272E #AD353F #CA555E

Accessibility & contrast

On white

9.47
#7E272E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E272E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E272E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E272E#FFFFFF#000000##FFFFFF
##7E272E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2E
Deuteranopia (green-blind)
#544D2C
Tritanopia (blue-blind)
#8A132A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e272e;
/* rgb */ color: rgb(126, 39, 46);
/* oklch */ color: oklch(40.8% 0.120 19.7);
Tailwind
colors: {
  custom: {
    50: '#a96766',
    500: '#7e272e',
    950: '#000000',
  },
}
SCSS
$custom: #7e272e;
$custom-light: #a96766;
$custom-dark: #000000;
JSON
{
  "hex": "#7e272e",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 355.172,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.11989,
    "h": 19.7
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#7E272E
secondary
#52AFA8
accent
#DCD14C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E272E

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

Preview Lab → · Contrast checker → · Palette generator →

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