#7F1312#7F1312

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

Color values

HEX#7F1312
RGBrgb(127, 19, 18)
HSLhsl(1, 75%, 28%)
HSVhsv(1, 86%, 50%)
CMYKcmyk(0%, 85%, 85.8%, 50.2%)
CIE-LABlab(26.80, 44.22, 31.05)
CIE-LCHlch(26.80, 54.03, 35.08°)
OKLaboklab(38.61% 0.1263 0.0656)
OKLCHoklch(38.61% 0.142 27.5)
XYZxyz(9.0956, 5.0229, 1.0628)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1312 #127E7F
analogous
#7F1247 #7F1312 #7F4912
triadic
#7F1312 #127F13 #13127F
tetradic
#7F1312 #477F12 #127E7F #49127F
square
#7F1312 #477F12 #127E7F #49127F
split-complementary
#7F1312 #127F49 #12477F
monochromatic
#1B0404 #490B0A #7F1312 #B51B1A #E12C2B

Accessibility & contrast

On white

10.48
#7F1312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7F1312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1312
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1312#FFFFFF#000000##FFFFFF
##7F13121.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373010
Deuteranopia (green-blind)
#51480C
Tritanopia (blue-blind)
#8D0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1312;
/* rgb */ color: rgb(127, 19, 18);
/* oklch */ color: oklch(38.6% 0.142 27.5);
Tailwind
colors: {
  custom: {
    50: '#ad5e51',
    500: '#7f1312',
    950: '#000000',
  },
}
SCSS
$custom: #7f1312;
$custom-light: #ad5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1312",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.55,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38606,
    "c": 0.14231,
    "h": 27.5
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#7F1312
secondary
#38B4B5
accent
#F0F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1312

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

Preview Lab → · Contrast checker → · Palette generator →

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