#7E2931#7E2931

#7E2931 is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.1% C 0.117 H 18.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7E2931
RGBrgb(126, 41, 49)
HSLhsl(354, 51%, 33%)
HSVhsv(354, 67%, 49%)
CMYKcmyk(0%, 67.5%, 61.1%, 50.6%)
CIE-LABlab(30.02, 37.30, 15.24)
CIE-LCHlch(30.02, 40.29, 22.22°)
OKLaboklab(41.12% 0.1113 0.0373)
OKLCHoklch(41.12% 0.117 18.5)
XYZxyz(9.9524, 6.2446, 3.5864)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2931 #297E76
analogous
#7E295B #7E2931 #7E4B29
triadic
#7E2931 #317E29 #29317E
tetradic
#7E2931 #5B7E29 #297E76 #4B297E
square
#7E2931 #5B7E29 #297E76 #4B297E
split-complementary
#7E2931 #297E4B #295B7E
monochromatic
#220B0D #501A1F #7E2931 #AC3843 #C95963

Accessibility & contrast

On white

9.34
#7E2931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2931
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2931#FFFFFF#000000##FFFFFF
##7E29311.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B31
Deuteranopia (green-blind)
#544D2F
Tritanopia (blue-blind)
#8A172C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2931;
/* rgb */ color: rgb(126, 41, 49);
/* oklch */ color: oklch(41.1% 0.117 18.5);
Tailwind
colors: {
  custom: {
    50: '#a96869',
    500: '#7e2931',
    950: '#000000',
  },
}
SCSS
$custom: #7e2931;
$custom-light: #a96869;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2931",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 49
  },
  "hsl": {
    "h": 354.353,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4112,
    "c": 0.11736,
    "h": 18.5
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#7E2931
secondary
#55AEA6
accent
#DACD4D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2931

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

Preview Lab → · Contrast checker → · Palette generator →

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