#7E2927#7E2927

#7E2927 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.118 H 25.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7E2927
RGBrgb(126, 41, 39)
HSLhsl(1, 53%, 32%)
HSVhsv(1, 69%, 49%)
CMYKcmyk(0%, 67.5%, 69%, 50.6%)
CIE-LABlab(29.84, 36.61, 21.47)
CIE-LCHlch(29.84, 42.44, 30.39°)
OKLaboklab(40.92% 0.1071 0.0504)
OKLCHoklch(40.92% 0.118 25.2)
XYZxyz(9.7643, 6.1693, 2.5957)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2927 #277C7E
analogous
#7E2751 #7E2927 #7E5427
triadic
#7E2927 #277E29 #29277E
tetradic
#7E2927 #517E27 #277C7E #54277E
square
#7E2927 #517E27 #277C7E #54277E
split-complementary
#7E2927 #277E54 #27517E
monochromatic
#210B0A #4F1A19 #7E2927 #AD3835 #CA5855

Accessibility & contrast

On white

9.40
#7E2927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E2927 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2927
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2927#FFFFFF#000000##FFFFFF
##7E29271.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#8B1529
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2927;
/* rgb */ color: rgb(126, 41, 39);
/* oklch */ color: oklch(40.9% 0.118 25.2);
Tailwind
colors: {
  custom: {
    50: '#a96861',
    500: '#7e2927',
    950: '#000000',
  },
}
SCSS
$custom: #7e2927;
$custom-light: #a96861;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2927",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 39
  },
  "hsl": {
    "h": 1.379,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.11833,
    "h": 25.2
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#7E2927
secondary
#52ADAF
accent
#D9DC4C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2927

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

Preview Lab → · Contrast checker → · Palette generator →

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