#7F1418#7F1418

#7F1418 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.141 H 25.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7F1418
RGBrgb(127, 20, 24)
HSLhsl(358, 73%, 29%)
HSVhsv(358, 84%, 50%)
CMYKcmyk(0%, 84.3%, 81.1%, 50.2%)
CIE-LABlab(26.96, 44.13, 27.65)
CIE-LCHlch(26.96, 52.08, 32.06°)
OKLaboklab(38.75% 0.1273 0.0604)
OKLCHoklch(38.75% 0.141 25.4)
XYZxyz(9.1685, 5.0798, 1.3617)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1418 #147F7B
analogous
#7F144E #7F1418 #7F4614
triadic
#7F1418 #187F14 #14187F
tetradic
#7F1418 #4E7F14 #147F7B #46147F
square
#7F1418 #4E7F14 #147F7B #46147F
split-complementary
#7F1418 #147F46 #144E7F
monochromatic
#1A0405 #4A0C0E #7F1418 #B41C22 #DE2F36

Accessibility & contrast

On white

10.42
#7F1418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F1418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1418
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1418#FFFFFF#000000##FFFFFF
##7F14181.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373117
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8C0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1418;
/* rgb */ color: rgb(127, 20, 24);
/* oklch */ color: oklch(38.7% 0.141 25.4);
Tailwind
colors: {
  custom: {
    50: '#ac5e55',
    500: '#7f1418',
    950: '#000000',
  },
}
SCSS
$custom: #7f1418;
$custom-light: #ac5e55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1418",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 24
  },
  "hsl": {
    "h": 357.757,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38745,
    "c": 0.14094,
    "h": 25.4
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#7F1418
secondary
#3BB4B0
accent
#EFE938
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7F1418

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

Preview Lab → · Contrast checker → · Palette generator →

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