#7D1A0F#7D1A0F

#7D1A0F is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.136 H 30.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7D1A0F
RGBrgb(125, 26, 15)
HSLhsl(6, 79%, 27%)
HSVhsv(6, 88%, 49%)
CMYKcmyk(0%, 79.2%, 88%, 51%)
CIE-LABlab(27.12, 41.33, 32.82)
CIE-LCHlch(27.12, 52.78, 38.46°)
OKLaboklab(38.76% 0.1169 0.0686)
OKLCHoklch(38.76% 0.136 30.4)
XYZxyz(8.9142, 5.1347, 0.9736)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A0F #0F727D
analogous
#7D0F3B #7D1A0F #7D510F
triadic
#7D1A0F #0F7D1A #1A0F7D
tetradic
#7D1A0F #3B7D0F #0F727D #510F7D
square
#7D1A0F #3B7D0F #0F727D #510F7D
split-complementary
#7D1A0F #0F7D51 #0F3B7D
monochromatic
#1B0603 #460F08 #7D1A0F #B42516 #E43522

Accessibility & contrast

On white

10.36
#7D1A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7D1A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A0F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A0F#FFFFFF#000000##FFFFFF
##7D1A0F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320C
Deuteranopia (green-blind)
#514809
Tritanopia (blue-blind)
#8A0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1a0f;
/* rgb */ color: rgb(125, 26, 15);
/* oklch */ color: oklch(38.8% 0.136 30.4);
Tailwind
colors: {
  custom: {
    50: '#ab604f',
    500: '#7d1a0f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a0f;
$custom-light: #ab604f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a0f",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 15
  },
  "hsl": {
    "h": 6,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38756,
    "c": 0.1355,
    "h": 30.4
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#7D1A0F
secondary
#34A7B4
accent
#E2F533
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7D1A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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