#7E1D2D#7E1D2D

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

Color values

HEX#7E1D2D
RGBrgb(126, 29, 45)
HSLhsl(350, 63%, 30%)
HSVhsv(350, 77%, 49%)
CMYKcmyk(0%, 77%, 64.3%, 50.6%)
CIE-LABlab(28.13, 41.98, 15.39)
CIE-LCHlch(28.13, 44.71, 20.13°)
OKLaboklab(39.68% 0.1255 0.0373)
OKLCHoklch(39.68% 0.131 16.6)
XYZxyz(9.5182, 5.5052, 3.0435)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D2D #1D7E6E
analogous
#7E1D5D #7E1D2D #7E3D1D
triadic
#7E1D2D #2D7E1D #1D2D7E
tetradic
#7E1D2D #5D7E1D #1D7E6E #3D1D7E
square
#7E1D2D #5D7E1D #1D7E6E #3D1D7E
split-complementary
#7E1D2D #1D7E3D #1D5D7E
monochromatic
#1B0609 #4C121B #7E1D2D #B0283F #D3425A

Accessibility & contrast

On white

10.00
#7E1D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D2D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D2D#FFFFFF#000000##FFFFFF
##7E1D2D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352D
Deuteranopia (green-blind)
#504A2A
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d2d;
/* rgb */ color: rgb(126, 29, 45);
/* oklch */ color: oklch(39.7% 0.131 16.6);
Tailwind
colors: {
  custom: {
    50: '#aa6265',
    500: '#7e1d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d2d;
$custom-light: #aa6265;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d2d",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 350.103,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.13088,
    "h": 16.6
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#7E1D2D
secondary
#45B1A0
accent
#E6CB42
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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