#7E272C#7E272C

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

Color values

HEX#7E272C
RGBrgb(126, 39, 44)
HSLhsl(357, 53%, 32%)
HSVhsv(357, 69%, 49%)
CMYKcmyk(0%, 69%, 65.1%, 50.6%)
CIE-LABlab(29.59, 37.84, 17.94)
CIE-LCHlch(29.59, 41.88, 25.36°)
OKLaboklab(40.76% 0.112 0.0431)
OKLCHoklch(40.76% 0.12 21)
XYZxyz(9.7853, 6.0699, 3.0387)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E272C #277E79
analogous
#7E2757 #7E272C #7E4E27
triadic
#7E272C #2C7E27 #272C7E
tetradic
#7E272C #577E27 #277E79 #4E277E
square
#7E272C #577E27 #277E79 #4E277E
split-complementary
#7E272C #277E4E #27577E
monochromatic
#210A0B #4F191C #7E272C #AD353C #CA555C

Accessibility & contrast

On white

9.49
#7E272C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E272C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E272C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E272C#FFFFFF#000000##FFFFFF
##7E272C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2C
Deuteranopia (green-blind)
#544D2A
Tritanopia (blue-blind)
#8A122A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e272c;
/* rgb */ color: rgb(126, 39, 44);
/* oklch */ color: oklch(40.8% 0.120 21.0);
Tailwind
colors: {
  custom: {
    50: '#a96765',
    500: '#7e272c',
    950: '#000000',
  },
}
SCSS
$custom: #7e272c;
$custom-light: #a96765;
$custom-dark: #000000;
JSON
{
  "hex": "#7e272c",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 44
  },
  "hsl": {
    "h": 356.552,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40764,
    "c": 0.12002,
    "h": 21
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#7E272C
secondary
#52AFAA
accent
#DCD44C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E272C

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

Preview Lab → · Contrast checker → · Palette generator →

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