#7D1D26#7D1D26

#7D1D26 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.130 H 20.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7D1D26
RGBrgb(125, 29, 38)
HSLhsl(354, 62%, 30%)
HSVhsv(354, 77%, 49%)
CMYKcmyk(0%, 76.8%, 69.6%, 51%)
CIE-LABlab(27.79, 41.21, 19.54)
CIE-LCHlch(27.79, 45.61, 25.37°)
OKLaboklab(39.35% 0.1216 0.046)
OKLCHoklch(39.35% 0.13 20.7)
XYZxyz(9.2477, 5.3800, 2.3849)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D26 #1D7D74
analogous
#7D1D56 #7D1D26 #7D441D
triadic
#7D1D26 #267D1D #1D267D
tetradic
#7D1D26 #567D1D #1D7D74 #441D7D
square
#7D1D26 #567D1D #1D7D74 #441D7D
split-complementary
#7D1D26 #1D7D44 #1D567D
monochromatic
#1A0608 #4B1117 #7D1D26 #AF2935 #D3414F

Accessibility & contrast

On white

10.12
#7D1D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7D1D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D26
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D26#FFFFFF#000000##FFFFFF
##7D1D261.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1d26;
/* rgb */ color: rgb(125, 29, 38);
/* oklch */ color: oklch(39.4% 0.130 20.7);
Tailwind
colors: {
  custom: {
    50: '#a96260',
    500: '#7d1d26',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d26;
$custom-light: #a96260;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d26",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 38
  },
  "hsl": {
    "h": 354.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39352,
    "c": 0.13001,
    "h": 20.7
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#7D1D26
secondary
#45B1A6
accent
#E5D642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1D26

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

Preview Lab → · Contrast checker → · Palette generator →

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