#7D1A1F#7D1A1F

#7D1A1F is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.133 H 23.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7D1A1F
RGBrgb(125, 26, 31)
HSLhsl(357, 66%, 30%)
HSVhsv(357, 79%, 49%)
CMYKcmyk(0%, 79.2%, 75.2%, 51%)
CIE-LABlab(27.29, 41.91, 23.49)
CIE-LCHlch(27.29, 48.05, 29.27°)
OKLaboklab(38.95% 0.1222 0.0534)
OKLCHoklch(38.95% 0.133 23.6)
XYZxyz(9.0752, 5.1991, 1.8217)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A1F #1A7D78
analogous
#7D1A50 #7D1A1F #7D471A
triadic
#7D1A1F #1F7D1A #1A1F7D
tetradic
#7D1A1F #507D1A #1A7D78 #471A7D
square
#7D1A1F #507D1A #1A7D78 #471A7D
split-complementary
#7D1A1F #1A7D47 #1A507D
monochromatic
#190506 #4A0F12 #7D1A1F #B0252C #D63B43

Accessibility & contrast

On white

10.30
#7D1A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7D1A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A1F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A1F#FFFFFF#000000##FFFFFF
##7D1A1F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#8A001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1a1f;
/* rgb */ color: rgb(125, 26, 31);
/* oklch */ color: oklch(38.9% 0.133 23.6);
Tailwind
colors: {
  custom: {
    50: '#aa605a',
    500: '#7d1a1f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a1f;
$custom-light: #aa605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a1f",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 356.97,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38947,
    "c": 0.13338,
    "h": 23.6
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#7D1A1F
secondary
#42B1AB
accent
#E9E03F
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7D1A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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