#7D1F1D#7D1F1D

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

Color values

HEX#7D1F1D
RGBrgb(125, 31, 29)
HSLhsl(1, 62%, 30%)
HSVhsv(1, 77%, 49%)
CMYKcmyk(0%, 75.2%, 76.8%, 51%)
CIE-LABlab(27.93, 39.99, 25.48)
CIE-LCHlch(27.93, 47.42, 32.51°)
OKLaboklab(39.41% 0.1156 0.0573)
OKLCHoklch(39.41% 0.129 26.4)
XYZxyz(9.1703, 5.4301, 1.7274)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F1D #1D7B7D
analogous
#7D1D4B #7D1F1D #7D4F1D
triadic
#7D1F1D #1D7D1F #1F1D7D
tetradic
#7D1F1D #4B7D1D #1D7B7D #4F1D7D
square
#7D1F1D #4B7D1D #1D7B7D #4F1D7D
split-complementary
#7D1F1D #1D7D4F #1D4B7D
monochromatic
#1A0606 #4B1311 #7D1F1D #AF2B29 #D34441

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1F1D#FFFFFF#000000##FFFFFF
##7D1F1D1.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)
#3B351C
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#8A0020
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f1d;
/* rgb */ color: rgb(125, 31, 29);
/* oklch */ color: oklch(39.4% 0.129 26.4);
Tailwind
colors: {
  custom: {
    50: '#aa6259',
    500: '#7d1f1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f1d;
$custom-light: #aa6259;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f1d",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 1.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.12905,
    "h": 26.4
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#7D1F1D
secondary
#45AEB1
accent
#E2E542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7D1F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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