#7E1F29#7E1F29

#7E1F29 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.129 H 19.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7E1F29
RGBrgb(126, 31, 41)
HSLhsl(354, 61%, 31%)
HSVhsv(354, 75%, 49%)
CMYKcmyk(0%, 75.4%, 67.5%, 50.6%)
CIE-LABlab(28.32, 40.97, 18.28)
CIE-LCHlch(28.32, 44.86, 24.04°)
OKLaboklab(39.8% 0.1214 0.0435)
OKLCHoklch(39.8% 0.129 19.7)
XYZxyz(9.4954, 5.5771, 2.6739)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F29 #1F7E74
analogous
#7E1F58 #7E1F29 #7E441F
triadic
#7E1F29 #297E1F #1F297E
tetradic
#7E1F29 #587E1F #1F7E74 #441F7E
square
#7E1F29 #587E1F #1F7E74 #441F7E
split-complementary
#7E1F29 #1F7E44 #1F587E
monochromatic
#1C0709 #4D1319 #7E1F29 #AF2B39 #D14655

Accessibility & contrast

On white

9.93
#7E1F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F29
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F29#FFFFFF#000000##FFFFFF
##7E1F291.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3629
Deuteranopia (green-blind)
#524A26
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1f29;
/* rgb */ color: rgb(126, 31, 41);
/* oklch */ color: oklch(39.8% 0.129 19.7);
Tailwind
colors: {
  custom: {
    50: '#aa6362',
    500: '#7e1f29',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f29;
$custom-light: #aa6362;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f29",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 353.684,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.12893,
    "h": 19.7
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#7E1F29
secondary
#48B1A6
accent
#E4D344
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E1F29

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

Preview Lab → · Contrast checker → · Palette generator →

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