#7E272F#7E272F

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

Color values

HEX#7E272F
RGBrgb(126, 39, 47)
HSLhsl(354, 53%, 32%)
HSVhsv(354, 69%, 49%)
CMYKcmyk(0%, 69%, 62.7%, 50.6%)
CIE-LABlab(29.65, 38.05, 16.05)
CIE-LCHlch(29.65, 41.30, 22.87°)
OKLaboklab(40.83% 0.1133 0.039)
OKLCHoklch(40.83% 0.12 19)
XYZxyz(9.8437, 6.0932, 3.3465)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E272F #277E76
analogous
#7E275A #7E272F #7E4B27
triadic
#7E272F #2F7E27 #272F7E
tetradic
#7E272F #5A7E27 #277E76 #4B277E
square
#7E272F #5A7E27 #277E76 #4B277E
split-complementary
#7E272F #277E4B #275A7E
monochromatic
#210A0C #4F191E #7E272F #AD3540 #CA5560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E272F#FFFFFF#000000##FFFFFF
##7E272F1.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)
#3D3A2F
Deuteranopia (green-blind)
#544D2D
Tritanopia (blue-blind)
#8A132B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e272f;
/* rgb */ color: rgb(126, 39, 47);
/* oklch */ color: oklch(40.8% 0.120 19.0);
Tailwind
colors: {
  custom: {
    50: '#a96767',
    500: '#7e272f',
    950: '#000000',
  },
}
SCSS
$custom: #7e272f;
$custom-light: #a96767;
$custom-dark: #000000;
JSON
{
  "hex": "#7e272f",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 354.483,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.11984,
    "h": 19
  },
  "luminance": 0.06092
}

Semantic roles & 50–950 ramp

primary
#7E272F
secondary
#52AFA7
accent
#DCCF4C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E272F

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

Preview Lab → · Contrast checker → · Palette generator →

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