#7E1D2F#7E1D2F

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

Color values

HEX#7E1D2F
RGBrgb(126, 29, 47)
HSLhsl(349, 63%, 30%)
HSVhsv(349, 77%, 49%)
CMYKcmyk(0%, 77%, 62.7%, 50.6%)
CIE-LABlab(28.17, 42.12, 14.11)
CIE-LCHlch(28.17, 44.42, 18.52°)
OKLaboklab(39.73% 0.1263 0.0345)
OKLCHoklch(39.73% 0.131 15.3)
XYZxyz(9.5576, 5.5210, 3.2512)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D2F #1D7E6C
analogous
#7E1D5F #7E1D2F #7E3B1D
triadic
#7E1D2F #2F7E1D #1D2F7E
tetradic
#7E1D2F #5F7E1D #1D7E6C #3B1D7E
square
#7E1D2F #5F7E1D #1D7E6C #3B1D7E
split-complementary
#7E1D2F #1D7E3B #1D5F7E
monochromatic
#1B060A #4C121C #7E1D2F #B02842 #D3425D

Accessibility & contrast

On white

9.98
#7E1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D2F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D2F#FFFFFF#000000##FFFFFF
##7E1D2F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d2f;
/* rgb */ color: rgb(126, 29, 47);
/* oklch */ color: oklch(39.7% 0.131 15.3);
Tailwind
colors: {
  custom: {
    50: '#a96267',
    500: '#7e1d2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d2f;
$custom-light: #a96267;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d2f",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 348.866,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39727,
    "c": 0.13093,
    "h": 15.3
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#7E1D2F
secondary
#45B19D
accent
#E6C742
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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