#7E2832#7E2832

#7E2832 is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.0% C 0.119 H 17.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7E2832
RGBrgb(126, 40, 50)
HSLhsl(353, 52%, 33%)
HSVhsv(353, 68%, 49%)
CMYKcmyk(0%, 68.3%, 60.3%, 50.6%)
CIE-LABlab(29.87, 37.83, 14.39)
CIE-LCHlch(29.87, 40.48, 20.82°)
OKLaboklab(41.02% 0.1132 0.0354)
OKLCHoklch(41.02% 0.119 17.4)
XYZxyz(9.9396, 6.1848, 3.6874)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2832 #287E74
analogous
#7E285D #7E2832 #7E4928
triadic
#7E2832 #327E28 #28327E
tetradic
#7E2832 #5D7E28 #287E74 #49287E
square
#7E2832 #5D7E28 #287E74 #49287E
split-complementary
#7E2832 #287E49 #285D7E
monochromatic
#210B0D #501920 #7E2832 #AC3744 #CA5764

Accessibility & contrast

On white

9.39
#7E2832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2832
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2832#FFFFFF#000000##FFFFFF
##7E28321.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B32
Deuteranopia (green-blind)
#544D30
Tritanopia (blue-blind)
#8A162C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2832;
/* rgb */ color: rgb(126, 40, 50);
/* oklch */ color: oklch(41.0% 0.119 17.4);
Tailwind
colors: {
  custom: {
    50: '#a96769',
    500: '#7e2832',
    950: '#000000',
  },
}
SCSS
$custom: #7e2832;
$custom-light: #a96769;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2832",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 50
  },
  "hsl": {
    "h": 353.023,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.11856,
    "h": 17.4
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#7E2832
secondary
#53AFA4
accent
#DBCB4D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2832

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

Preview Lab → · Contrast checker → · Palette generator →

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