#7D1C1F#7D1C1F

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

Color values

HEX#7D1C1F
RGBrgb(125, 28, 31)
HSLhsl(358, 63%, 30%)
HSVhsv(358, 78%, 49%)
CMYKcmyk(0%, 77.6%, 75.2%, 51%)
CIE-LABlab(27.55, 41.21, 23.79)
CIE-LCHlch(27.55, 47.58, 29.99°)
OKLaboklab(39.14% 0.12 0.0541)
OKLCHoklch(39.14% 0.132 24.3)
XYZxyz(9.1211, 5.2908, 1.8370)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C1F #1C7D7A
analogous
#7D1C50 #7D1C1F #7D491C
triadic
#7D1C1F #1F7D1C #1C1F7D
tetradic
#7D1C1F #507D1C #1C7D7A #491C7D
square
#7D1C1F #507D1C #1C7D7A #491C7D
split-complementary
#7D1C1F #1C7D49 #1C507D
monochromatic
#190606 #4B1113 #7D1C1F #AF272B #D43F44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1C1F#FFFFFF#000000##FFFFFF
##7D1C1F1.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)
#39341E
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#8A001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1c1f;
/* rgb */ color: rgb(125, 28, 31);
/* oklch */ color: oklch(39.1% 0.132 24.3);
Tailwind
colors: {
  custom: {
    50: '#aa615a',
    500: '#7d1c1f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c1f;
$custom-light: #aa615a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c1f",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 31
  },
  "hsl": {
    "h": 358.144,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.13159,
    "h": 24.3
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#7D1C1F
secondary
#44B1AD
accent
#E6E141
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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