#7D1C12#7D1C12

#7D1C12 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.133 H 30.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7D1C12
RGBrgb(125, 28, 18)
HSLhsl(6, 75%, 28%)
HSVhsv(6, 86%, 49%)
CMYKcmyk(0%, 77.6%, 85.6%, 51%)
CIE-LABlab(27.40, 40.70, 31.46)
CIE-LCHlch(27.40, 51.44, 37.70°)
OKLaboklab(38.97% 0.1155 0.0668)
OKLCHoklch(38.97% 0.133 30)
XYZxyz(8.9830, 5.2356, 1.1097)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C12 #12737D
analogous
#7D123E #7D1C12 #7D5112
triadic
#7D1C12 #127D1C #1C127D
tetradic
#7D1C12 #3E7D12 #12737D #51127D
square
#7D1C12 #3E7D12 #12737D #51127D
split-complementary
#7D1C12 #127D51 #123E7D
monochromatic
#1B0604 #48100A #7D1C12 #B2281A #E03A29

Accessibility & contrast

On white

10.26
#7D1C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7D1C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C12
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C12#FFFFFF#000000##FFFFFF
##7D1C121.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3310
Deuteranopia (green-blind)
#52480D
Tritanopia (blue-blind)
#8A001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1c12;
/* rgb */ color: rgb(125, 28, 18);
/* oklch */ color: oklch(39.0% 0.133 30.0);
Tailwind
colors: {
  custom: {
    50: '#ab6151',
    500: '#7d1c12',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c12;
$custom-light: #ab6151;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c12",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 18
  },
  "hsl": {
    "h": 5.607,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38973,
    "c": 0.13341,
    "h": 30
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#7D1C12
secondary
#38A7B3
accent
#E0F136
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7D1C12

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

Preview Lab → · Contrast checker → · Palette generator →

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