#7E251D#7E251D

#7E251D is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.124 H 28.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7E251D
RGBrgb(126, 37, 29)
HSLhsl(5, 63%, 30%)
HSVhsv(5, 77%, 49%)
CMYKcmyk(0%, 70.6%, 77%, 50.6%)
CIE-LABlab(29.03, 37.86, 26.77)
CIE-LCHlch(29.03, 46.37, 35.26°)
OKLaboklab(40.27% 0.1088 0.06)
OKLCHoklch(40.27% 0.124 28.9)
XYZxyz(9.4886, 5.8489, 1.7915)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E251D #1D767E
analogous
#7E1D46 #7E251D #7E551D
triadic
#7E251D #1D7E25 #251D7E
tetradic
#7E251D #467E1D #1D767E #551D7E
square
#7E251D #467E1D #1D767E #551D7E
split-complementary
#7E251D #1D7E55 #1D467E
monochromatic
#1B0806 #4C1612 #7E251D #B03428 #D34E42

Accessibility & contrast

On white

9.68
#7E251D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E251D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E251D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E251D#FFFFFF#000000##FFFFFF
##7E251D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381B
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#8B0924
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e251d;
/* rgb */ color: rgb(126, 37, 29);
/* oklch */ color: oklch(40.3% 0.124 28.9);
Tailwind
colors: {
  custom: {
    50: '#aa6559',
    500: '#7e251d',
    950: '#000000',
  },
}
SCSS
$custom: #7e251d;
$custom-light: #aa6559;
$custom-dark: #000000;
JSON
{
  "hex": "#7e251d",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 29
  },
  "hsl": {
    "h": 4.948,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40268,
    "c": 0.12428,
    "h": 28.9
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#7E251D
secondary
#45A9B1
accent
#D8E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E251D

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

Preview Lab → · Contrast checker → · Palette generator →

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