#7D1F1B#7D1F1B

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

Color values

HEX#7D1F1B
RGBrgb(125, 31, 27)
HSLhsl(2, 64%, 30%)
HSVhsv(2, 78%, 49%)
CMYKcmyk(0%, 75.2%, 78.4%, 51%)
CIE-LABlab(27.90, 39.90, 26.69)
CIE-LCHlch(27.90, 48.00, 33.78°)
OKLaboklab(39.38% 0.1149 0.0594)
OKLCHoklch(39.38% 0.129 27.3)
XYZxyz(9.1463, 5.4205, 1.6014)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F1B #1B797D
analogous
#7D1B48 #7D1F1B #7D501B
triadic
#7D1F1B #1B7D1F #1F1B7D
tetradic
#7D1F1B #487D1B #1B797D #501B7D
square
#7D1F1B #487D1B #1B797D #501B7D
split-complementary
#7D1F1B #1B7D50 #1B487D
monochromatic
#190605 #4B1310 #7D1F1B #AF2B26 #D5433D

Accessibility & contrast

On white

10.08
#7D1F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F1B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F1B#FFFFFF#000000##FFFFFF
##7D1F1B1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351A
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#8A001F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f1b;
/* rgb */ color: rgb(125, 31, 27);
/* oklch */ color: oklch(39.4% 0.129 27.3);
Tailwind
colors: {
  custom: {
    50: '#aa6258',
    500: '#7d1f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f1b;
$custom-light: #aa6258;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f1b",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 27
  },
  "hsl": {
    "h": 2.449,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.12936,
    "h": 27.3
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#7D1F1B
secondary
#43ACB1
accent
#E1E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7D1F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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