#7E232B#7E232B

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

Color values

HEX#7E232B
RGBrgb(126, 35, 43)
HSLhsl(355, 57%, 32%)
HSVhsv(355, 72%, 49%)
CMYKcmyk(0%, 72.2%, 65.9%, 50.6%)
CIE-LABlab(28.94, 39.50, 17.75)
CIE-LCHlch(28.94, 43.31, 24.20°)
OKLaboklab(40.27% 0.1171 0.0425)
OKLCHoklch(40.27% 0.125 20)
XYZxyz(9.6422, 5.8135, 2.8994)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E232B #237E76
analogous
#7E2359 #7E232B #7E4923
triadic
#7E232B #2B7E23 #232B7E
tetradic
#7E232B #597E23 #237E76 #49237E
square
#7E232B #597E23 #237E76 #49237E
split-complementary
#7E232B #237E49 #23597E
monochromatic
#1E080A #4E161B #7E232B #AE303B #CE4E59

Accessibility & contrast

On white

9.71
#7E232B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E232B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E232B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E232B#FFFFFF#000000##FFFFFF
##7E232B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C382B
Deuteranopia (green-blind)
#534B28
Tritanopia (blue-blind)
#8B0927
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e232b;
/* rgb */ color: rgb(126, 35, 43);
/* oklch */ color: oklch(40.3% 0.125 20.0);
Tailwind
colors: {
  custom: {
    50: '#a96564',
    500: '#7e232b',
    950: '#000000',
  },
}
SCSS
$custom: #7e232b;
$custom-light: #a96564;
$custom-dark: #000000;
JSON
{
  "hex": "#7e232b",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 43
  },
  "hsl": {
    "h": 354.725,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40271,
    "c": 0.12458,
    "h": 20
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#7E232B
secondary
#4CB0A8
accent
#E0D248
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E232B

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

Preview Lab → · Contrast checker → · Palette generator →

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