#7F1216#7F1216

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

Color values

HEX#7F1216
RGBrgb(127, 18, 22)
HSLhsl(358, 75%, 28%)
HSVhsv(358, 86%, 50%)
CMYKcmyk(0%, 85.8%, 82.7%, 50.2%)
CIE-LABlab(26.75, 44.61, 28.64)
CIE-LCHlch(26.75, 53.01, 32.71°)
OKLaboklab(38.58% 0.1284 0.0619)
OKLCHoklch(38.58% 0.143 25.8)
XYZxyz(9.1147, 5.0041, 1.2449)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1216 #127F7B
analogous
#7F124C #7F1216 #7F4412
triadic
#7F1216 #167F12 #12167F
tetradic
#7F1216 #4C7F12 #127F7B #44127F
square
#7F1216 #4C7F12 #127F7B #44127F
split-complementary
#7F1216 #127F44 #124C7F
monochromatic
#1B0405 #490A0D #7F1216 #B51A1F #E12B31

Accessibility & contrast

On white

10.50
#7F1216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1216
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1216#FFFFFF#000000##FFFFFF
##7F12161.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363015
Deuteranopia (green-blind)
#514711
Tritanopia (blue-blind)
#8D0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1216;
/* rgb */ color: rgb(127, 18, 22);
/* oklch */ color: oklch(38.6% 0.143 25.8);
Tailwind
colors: {
  custom: {
    50: '#ad5d53',
    500: '#7f1216',
    950: '#000000',
  },
}
SCSS
$custom: #7f1216;
$custom-light: #ad5d53;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1216",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 22
  },
  "hsl": {
    "h": 357.798,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38579,
    "c": 0.14252,
    "h": 25.8
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#7F1216
secondary
#38B5B0
accent
#F2EB36
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1216

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

Preview Lab → · Contrast checker → · Palette generator →

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