#7E1D2E#7E1D2E

#7E1D2E is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.131 H 15.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7E1D2E
RGBrgb(126, 29, 46)
HSLhsl(349, 63%, 30%)
HSVhsv(349, 77%, 49%)
CMYKcmyk(0%, 77%, 63.5%, 50.6%)
CIE-LABlab(28.15, 42.05, 14.75)
CIE-LCHlch(28.15, 44.56, 19.33°)
OKLaboklab(39.7% 0.1259 0.0359)
OKLCHoklch(39.7% 0.131 15.9)
XYZxyz(9.5377, 5.5130, 3.1461)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D2E #1D7E6D
analogous
#7E1D5E #7E1D2E #7E3D1D
triadic
#7E1D2E #2E7E1D #1D2E7E
tetradic
#7E1D2E #5E7E1D #1D7E6D #3D1D7E
square
#7E1D2E #5E7E1D #1D7E6D #3D1D7E
split-complementary
#7E1D2E #1D7E3D #1D5E7E
monochromatic
#1B060A #4C121C #7E1D2E #B02840 #D3425B

Accessibility & contrast

On white

9.99
#7E1D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D2E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D2E#FFFFFF#000000##FFFFFF
##7E1D2E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#504A2B
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d2e;
/* rgb */ color: rgb(126, 29, 46);
/* oklch */ color: oklch(39.7% 0.131 15.9);
Tailwind
colors: {
  custom: {
    50: '#aa6266',
    500: '#7e1d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d2e;
$custom-light: #aa6266;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d2e",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 349.485,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39704,
    "c": 0.13089,
    "h": 15.9
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#7E1D2E
secondary
#45B19F
accent
#E6C942
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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