#7F1413#7F1413

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

Color values

HEX#7F1413
RGBrgb(127, 20, 19)
HSLhsl(1, 74%, 29%)
HSVhsv(1, 85%, 50%)
CMYKcmyk(0%, 84.3%, 85%, 50.2%)
CIE-LABlab(26.91, 43.97, 30.58)
CIE-LCHlch(26.91, 53.56, 34.82°)
OKLaboklab(38.69% 0.1257 0.065)
OKLCHoklch(38.69% 0.142 27.3)
XYZxyz(9.1212, 5.0609, 1.1126)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1413 #137E7F
analogous
#7F1348 #7F1413 #7F4A13
triadic
#7F1413 #137F14 #14137F
tetradic
#7F1413 #487F13 #137E7F #4A137F
square
#7F1413 #487F13 #137E7F #4A137F
split-complementary
#7F1413 #137F4A #13487F
monochromatic
#1B0404 #4A0C0B #7F1413 #B41C1B #E02E2D

Accessibility & contrast

On white

10.44
#7F1413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1413
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1413#FFFFFF#000000##FFFFFF
##7F14131.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1413;
/* rgb */ color: rgb(127, 20, 19);
/* oklch */ color: oklch(38.7% 0.142 27.3);
Tailwind
colors: {
  custom: {
    50: '#ad5e51',
    500: '#7f1413',
    950: '#000000',
  },
}
SCSS
$custom: #7f1413;
$custom-light: #ad5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1413",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 19
  },
  "hsl": {
    "h": 0.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38689,
    "c": 0.14152,
    "h": 27.3
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#7F1413
secondary
#39B3B4
accent
#EFF137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1413

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

Preview Lab → · Contrast checker → · Palette generator →

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