#7D180F#7D180F

#7D180F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.137 H 29.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#7D180F
RGBrgb(125, 24, 15)
HSLhsl(5, 79%, 27%)
HSVhsv(5, 88%, 49%)
CMYKcmyk(0%, 80.8%, 88%, 51%)
CIE-LABlab(26.87, 42.00, 32.61)
CIE-LCHlch(26.87, 53.18, 37.83°)
OKLaboklab(38.58% 0.119 0.0681)
OKLCHoklch(38.58% 0.137 29.8)
XYZxyz(8.8714, 5.0492, 0.9593)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D180F #0F747D
analogous
#7D0F3D #7D180F #7D4F0F
triadic
#7D180F #0F7D18 #180F7D
tetradic
#7D180F #3D7D0F #0F747D #4F0F7D
square
#7D180F #3D7D0F #0F747D #4F0F7D
split-complementary
#7D180F #0F7D4F #0F3D7D
monochromatic
#1B0503 #460E08 #7D180F #B42216 #E43222

Accessibility & contrast

On white

10.45
#7D180F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7D180F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D180F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D180F#FFFFFF#000000##FFFFFF
##7D180F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310C
Deuteranopia (green-blind)
#514709
Tritanopia (blue-blind)
#8A0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7d180f;
/* rgb */ color: rgb(125, 24, 15);
/* oklch */ color: oklch(38.6% 0.137 29.8);
Tailwind
colors: {
  custom: {
    50: '#ab5f4f',
    500: '#7d180f',
    950: '#000000',
  },
}
SCSS
$custom: #7d180f;
$custom-light: #ab5f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d180f",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 15
  },
  "hsl": {
    "h": 4.909,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38577,
    "c": 0.13707,
    "h": 29.8
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#7D180F
secondary
#34A9B4
accent
#E5F533
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7D180F

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

Preview Lab → · Contrast checker → · Palette generator →

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