#7F1512#7F1512

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

Color values

HEX#7F1512
RGBrgb(127, 21, 18)
HSLhsl(2, 75%, 28%)
HSVhsv(2, 86%, 50%)
CMYKcmyk(0%, 83.5%, 85.8%, 50.2%)
CIE-LABlab(27.00, 43.65, 31.24)
CIE-LCHlch(27.00, 53.68, 35.59°)
OKLaboklab(38.75% 0.1245 0.0661)
OKLCHoklch(38.75% 0.141 28)
XYZxyz(9.1309, 5.0935, 1.0745)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1512 #127C7F
analogous
#7F1245 #7F1512 #7F4B12
triadic
#7F1512 #127F15 #15127F
tetradic
#7F1512 #457F12 #127C7F #4B127F
square
#7F1512 #457F12 #127C7F #4B127F
split-complementary
#7F1512 #127F4B #12457F
monochromatic
#1B0404 #490C0A #7F1512 #B51E1A #E1302B

Accessibility & contrast

On white

10.40
#7F1512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1512
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1512#FFFFFF#000000##FFFFFF
##7F15121.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1512;
/* rgb */ color: rgb(127, 21, 18);
/* oklch */ color: oklch(38.8% 0.141 28.0);
Tailwind
colors: {
  custom: {
    50: '#ad5e51',
    500: '#7f1512',
    950: '#000000',
  },
}
SCSS
$custom: #7f1512;
$custom-light: #ad5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1512",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 18
  },
  "hsl": {
    "h": 1.651,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38754,
    "c": 0.14094,
    "h": 28
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#7F1512
secondary
#38B1B5
accent
#EDF236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1512

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

Preview Lab → · Contrast checker → · Palette generator →

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