#7D1D12#7D1D12

#7D1D12 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.133 H 30.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7D1D12
RGBrgb(125, 29, 18)
HSLhsl(6, 75%, 28%)
HSVhsv(6, 86%, 49%)
CMYKcmyk(0%, 76.8%, 85.6%, 51%)
CIE-LABlab(27.53, 40.33, 31.58)
CIE-LCHlch(27.53, 51.23, 38.06°)
OKLaboklab(39.07% 0.1143 0.0671)
OKLCHoklch(39.07% 0.133 30.4)
XYZxyz(9.0071, 5.2838, 1.1178)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D12 #12727D
analogous
#7D123C #7D1D12 #7D5212
triadic
#7D1D12 #127D1D #1D127D
tetradic
#7D1D12 #3C7D12 #12727D #52127D
square
#7D1D12 #3C7D12 #12727D #52127D
split-complementary
#7D1D12 #127D52 #123C7D
monochromatic
#1B0604 #48110A #7D1D12 #B2291A #E03C29

Accessibility & contrast

On white

10.21
#7D1D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7D1D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D12
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D12#FFFFFF#000000##FFFFFF
##7D1D121.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A340F
Deuteranopia (green-blind)
#52490D
Tritanopia (blue-blind)
#8A001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1d12;
/* rgb */ color: rgb(125, 29, 18);
/* oklch */ color: oklch(39.1% 0.133 30.4);
Tailwind
colors: {
  custom: {
    50: '#ab6151',
    500: '#7d1d12',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d12;
$custom-light: #ab6151;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d12",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 6.168,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39072,
    "c": 0.13255,
    "h": 30.4
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#7D1D12
secondary
#38A6B3
accent
#DEF136
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7D1D12

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

Preview Lab → · Contrast checker → · Palette generator →

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