#7D1A12#7D1A12

#7D1A12 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.135 H 29.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7D1A12
RGBrgb(125, 26, 18)
HSLhsl(4, 75%, 28%)
HSVhsv(4, 86%, 49%)
CMYKcmyk(0%, 79.2%, 85.6%, 51%)
CIE-LABlab(27.14, 41.41, 31.22)
CIE-LCHlch(27.14, 51.86, 37.01°)
OKLaboklab(38.78% 0.1177 0.0663)
OKLCHoklch(38.78% 0.135 29.4)
XYZxyz(8.9371, 5.1439, 1.0944)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A12 #12757D
analogous
#7D123F #7D1A12 #7D4F12
triadic
#7D1A12 #127D1A #1A127D
tetradic
#7D1A12 #3F7D12 #12757D #4F127D
square
#7D1A12 #3F7D12 #12757D #4F127D
split-complementary
#7D1A12 #127D4F #123F7D
monochromatic
#1B0604 #480F0A #7D1A12 #B2251A #E03729

Accessibility & contrast

On white

10.35
#7D1A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7D1A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A12
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A12#FFFFFF#000000##FFFFFF
##7D1A121.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393210
Deuteranopia (green-blind)
#51480D
Tritanopia (blue-blind)
#8A0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1a12;
/* rgb */ color: rgb(125, 26, 18);
/* oklch */ color: oklch(38.8% 0.135 29.4);
Tailwind
colors: {
  custom: {
    50: '#ab6051',
    500: '#7d1a12',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a12;
$custom-light: #ab6051;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a12",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 18
  },
  "hsl": {
    "h": 4.486,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.13507,
    "h": 29.4
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#7D1A12
secondary
#38AAB3
accent
#E3F136
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7D1A12

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

Preview Lab → · Contrast checker → · Palette generator →

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