#7D1F12#7D1F12

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

Color values

HEX#7D1F12
RGBrgb(125, 31, 18)
HSLhsl(7, 75%, 28%)
HSVhsv(7, 86%, 49%)
CMYKcmyk(0%, 75.2%, 85.6%, 51%)
CIE-LABlab(27.80, 39.57, 31.84)
CIE-LCHlch(27.80, 50.79, 38.82°)
OKLaboklab(39.28% 0.112 0.0676)
OKLCHoklch(39.28% 0.131 31.1)
XYZxyz(9.0577, 5.3850, 1.1346)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F12 #12707D
analogous
#7D123A #7D1F12 #7D5412
triadic
#7D1F12 #127D1F #1F127D
tetradic
#7D1F12 #3A7D12 #12707D #54127D
square
#7D1F12 #3A7D12 #12707D #54127D
split-complementary
#7D1F12 #127D54 #123A7D
monochromatic
#1B0704 #48120A #7D1F12 #B22C1A #E03F29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1F12#FFFFFF#000000##FFFFFF
##7D1F121.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)
#3B340F
Deuteranopia (green-blind)
#53490D
Tritanopia (blue-blind)
#8A001D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f12;
/* rgb */ color: rgb(125, 31, 18);
/* oklch */ color: oklch(39.3% 0.131 31.1);
Tailwind
colors: {
  custom: {
    50: '#ab6251',
    500: '#7d1f12',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f12;
$custom-light: #ab6251;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f12",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 7.29,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39279,
    "c": 0.13081,
    "h": 31.1
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#7D1F12
secondary
#38A4B3
accent
#DBF136
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7D1F12

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

Preview Lab → · Contrast checker → · Palette generator →

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