#7D1E26#7D1E26

#7D1E26 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.129 H 21.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7D1E26
RGBrgb(125, 30, 38)
HSLhsl(355, 61%, 30%)
HSVhsv(355, 76%, 49%)
CMYKcmyk(0%, 76%, 69.6%, 51%)
CIE-LABlab(27.93, 40.84, 19.71)
CIE-LCHlch(27.93, 45.35, 25.76°)
OKLaboklab(39.45% 0.1204 0.0464)
OKLCHoklch(39.45% 0.129 21.1)
XYZxyz(9.2726, 5.4298, 2.3932)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E26 #1E7D75
analogous
#7D1E56 #7D1E26 #7D451E
triadic
#7D1E26 #267D1E #1E267D
tetradic
#7D1E26 #567D1E #1E7D75 #451E7D
square
#7D1E26 #567D1E #1E7D75 #451E7D
split-complementary
#7D1E26 #1E7D45 #1E567D
monochromatic
#1A0608 #4C1217 #7D1E26 #AE2A35 #D2434F

Accessibility & contrast

On white

10.07
#7D1E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7D1E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E26
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E26#FFFFFF#000000##FFFFFF
##7D1E261.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393526
Deuteranopia (green-blind)
#514923
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1e26;
/* rgb */ color: rgb(125, 30, 38);
/* oklch */ color: oklch(39.5% 0.129 21.1);
Tailwind
colors: {
  custom: {
    50: '#a96260',
    500: '#7d1e26',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e26;
$custom-light: #a96260;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e26",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 354.947,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.12902,
    "h": 21.1
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#7D1E26
secondary
#46B0A7
accent
#E4D743
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1E26

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

Preview Lab → · Contrast checker → · Palette generator →

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