#7E231E#7E231E

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

Color values

HEX#7E231E
RGBrgb(126, 35, 30)
HSLhsl(3, 62%, 31%)
HSVhsv(3, 76%, 49%)
CMYKcmyk(0%, 72.2%, 76.2%, 50.6%)
CIE-LABlab(28.73, 38.76, 25.82)
CIE-LCHlch(28.73, 46.57, 33.66°)
OKLaboklab(40.05% 0.1119 0.0582)
OKLCHoklch(40.05% 0.126 27.5)
XYZxyz(9.4406, 5.7328, 1.8375)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E231E #1E797E
analogous
#7E1E49 #7E231E #7E531E
triadic
#7E231E #1E7E23 #231E7E
tetradic
#7E231E #497E1E #1E797E #531E7E
square
#7E231E #497E1E #1E797E #531E7E
split-complementary
#7E231E #1E7E53 #1E497E
monochromatic
#1B0806 #4D1512 #7E231E #AF312A #D24B44

Accessibility & contrast

On white

9.78
#7E231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E231E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E231E#FFFFFF#000000##FFFFFF
##7E231E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371D
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#8B0423
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e231e;
/* rgb */ color: rgb(126, 35, 30);
/* oklch */ color: oklch(40.0% 0.126 27.5);
Tailwind
colors: {
  custom: {
    50: '#aa645a',
    500: '#7e231e',
    950: '#000000',
  },
}
SCSS
$custom: #7e231e;
$custom-light: #aa645a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e231e",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 3.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.12613,
    "h": 27.5
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#7E231E
secondary
#47ACB1
accent
#DCE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E231E

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

Preview Lab → · Contrast checker → · Palette generator →

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