#7E231D#7E231D

#7E231D is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.126 H 28.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7E231D
RGBrgb(126, 35, 29)
HSLhsl(4, 63%, 30%)
HSVhsv(4, 77%, 49%)
CMYKcmyk(0%, 72.2%, 77%, 50.6%)
CIE-LABlab(28.72, 38.72, 26.42)
CIE-LCHlch(28.72, 46.87, 34.31°)
OKLaboklab(40.03% 0.1115 0.0593)
OKLCHoklch(40.03% 0.126 28)
XYZxyz(9.4280, 5.7278, 1.7713)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E231D #1D787E
analogous
#7E1D48 #7E231D #7E531D
triadic
#7E231D #1D7E23 #231D7E
tetradic
#7E231D #487E1D #1D787E #531D7E
square
#7E231D #487E1D #1D787E #531D7E
split-complementary
#7E231D #1D7E53 #1D487E
monochromatic
#1B0706 #4C1512 #7E231D #B03128 #D34B42

Accessibility & contrast

On white

9.79
#7E231D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E231D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E231D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E231D#FFFFFF#000000##FFFFFF
##7E231D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#8B0422
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e231d;
/* rgb */ color: rgb(126, 35, 29);
/* oklch */ color: oklch(40.0% 0.126 28.0);
Tailwind
colors: {
  custom: {
    50: '#ab6459',
    500: '#7e231d',
    950: '#000000',
  },
}
SCSS
$custom: #7e231d;
$custom-light: #ab6459;
$custom-dark: #000000;
JSON
{
  "hex": "#7e231d",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 3.711,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40034,
    "c": 0.12629,
    "h": 28
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#7E231D
secondary
#45ABB1
accent
#DCE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E231D

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

Preview Lab → · Contrast checker → · Palette generator →

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