#7E1931#7E1931

#7E1931 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.135 H 12.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7E1931
RGBrgb(126, 25, 49)
HSLhsl(346, 67%, 30%)
HSVhsv(346, 80%, 49%)
CMYKcmyk(0%, 80.2%, 61.1%, 50.6%)
CIE-LABlab(27.72, 43.65, 12.17)
CIE-LCHlch(27.72, 45.31, 15.57°)
OKLaboklab(39.41% 0.1316 0.0301)
OKLCHoklch(39.41% 0.135 12.9)
XYZxyz(9.5072, 5.3540, 3.4380)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1931 #197E66
analogous
#7E1963 #7E1931 #7E3419
triadic
#7E1931 #317E19 #19317E
tetradic
#7E1931 #637E19 #197E66 #34197E
square
#7E1931 #637E19 #197E66 #34197E
split-complementary
#7E1931 #197E34 #19637E
monochromatic
#1A050A #4B0F1D #7E1931 #B12345 #D83A5F

Accessibility & contrast

On white

10.14
#7E1931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1931
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1931#FFFFFF#000000##FFFFFF
##7E19311.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353431
Deuteranopia (green-blind)
#4F492E
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1931;
/* rgb */ color: rgb(126, 25, 49);
/* oklch */ color: oklch(39.4% 0.135 12.9);
Tailwind
colors: {
  custom: {
    50: '#a96068',
    500: '#7e1931',
    950: '#000000',
  },
}
SCSS
$custom: #7e1931;
$custom-light: #a96068;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1931",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 49
  },
  "hsl": {
    "h": 345.743,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.135,
    "h": 12.9
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#7E1931
secondary
#41B297
accent
#EAC13E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1931

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

Preview Lab → · Contrast checker → · Palette generator →

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