#7E2732#7E2732

#7E2732 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.9% C 0.120 H 16.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7E2732
RGBrgb(126, 39, 50)
HSLhsl(352, 53%, 32%)
HSVhsv(352, 69%, 49%)
CMYKcmyk(0%, 69%, 60.3%, 50.6%)
CIE-LABlab(29.71, 38.28, 14.17)
CIE-LCHlch(29.71, 40.82, 20.31°)
OKLaboklab(40.89% 0.1146 0.0349)
OKLCHoklch(40.89% 0.12 16.9)
XYZxyz(9.9064, 6.1183, 3.6763)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2732 #277E73
analogous
#7E275D #7E2732 #7E4827
triadic
#7E2732 #327E27 #27327E
tetradic
#7E2732 #5D7E27 #277E73 #48277E
square
#7E2732 #5D7E27 #277E73 #48277E
split-complementary
#7E2732 #277E48 #275D7E
monochromatic
#210A0D #4F191F #7E2732 #AD3545 #CA5564

Accessibility & contrast

On white

9.44
#7E2732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E2732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2732
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2732#FFFFFF#000000##FFFFFF
##7E27321.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A32
Deuteranopia (green-blind)
#534D30
Tritanopia (blue-blind)
#8A142C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2732;
/* rgb */ color: rgb(126, 39, 50);
/* oklch */ color: oklch(40.9% 0.120 16.9);
Tailwind
colors: {
  custom: {
    50: '#a96769',
    500: '#7e2732',
    950: '#000000',
  },
}
SCSS
$custom: #7e2732;
$custom-light: #a96769;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2732",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 50
  },
  "hsl": {
    "h": 352.414,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.11978,
    "h": 16.9
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#7E2732
secondary
#52AFA3
accent
#DCCA4C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2732

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

Preview Lab → · Contrast checker → · Palette generator →

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