#7D1F13#7D1F13

#7D1F13 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.131 H 30.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#7D1F13
RGBrgb(125, 31, 19)
HSLhsl(7, 74%, 28%)
HSVhsv(7, 85%, 49%)
CMYKcmyk(0%, 75.2%, 84.8%, 51%)
CIE-LABlab(27.81, 39.60, 31.30)
CIE-LCHlch(27.81, 50.48, 38.32°)
OKLaboklab(39.29% 0.1123 0.0668)
OKLCHoklch(39.29% 0.131 30.8)
XYZxyz(9.0661, 5.3884, 1.1787)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F13 #13717D
analogous
#7D133C #7D1F13 #7D5413
triadic
#7D1F13 #137D1F #1F137D
tetradic
#7D1F13 #3C7D13 #13717D #54137D
square
#7D1F13 #3C7D13 #13717D #54137D
split-complementary
#7D1F13 #137D54 #133C7D
monochromatic
#1B0704 #48120B #7D1F13 #B22C1B #DF402C

Accessibility & contrast

On white

10.11
#7D1F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F13
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F13#FFFFFF#000000##FFFFFF
##7D1F131.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3411
Deuteranopia (green-blind)
#53490E
Tritanopia (blue-blind)
#8A001D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f13;
/* rgb */ color: rgb(125, 31, 19);
/* oklch */ color: oklch(39.3% 0.131 30.8);
Tailwind
colors: {
  custom: {
    50: '#ab6252',
    500: '#7d1f13',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f13;
$custom-light: #ab6252;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f13",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 19
  },
  "hsl": {
    "h": 6.792,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.13064,
    "h": 30.8
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#7D1F13
secondary
#39A5B3
accent
#DBF038
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7D1F13

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

Preview Lab → · Contrast checker → · Palette generator →

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