#7F1214#7F1214

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

Color values

HEX#7F1214
RGBrgb(127, 18, 20)
HSLhsl(359, 75%, 28%)
HSVhsv(359, 86%, 50%)
CMYKcmyk(0%, 85.8%, 84.3%, 50.2%)
CIE-LABlab(26.73, 44.55, 29.82)
CIE-LCHlch(26.73, 53.60, 33.80°)
OKLaboklab(38.56% 0.1277 0.0637)
OKLCHoklch(38.56% 0.143 26.5)
XYZxyz(9.0961, 4.9966, 1.1472)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1214 #127F7D
analogous
#7F124A #7F1214 #7F4612
triadic
#7F1214 #147F12 #12147F
tetradic
#7F1214 #4A7F12 #127F7D #46127F
square
#7F1214 #4A7F12 #127F7D #46127F
split-complementary
#7F1214 #127F46 #124A7F
monochromatic
#1B0404 #490A0C #7F1214 #B51A1C #E12B2E

Accessibility & contrast

On white

10.51
#7F1214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1214
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1214#FFFFFF#000000##FFFFFF
##7F12141.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363012
Deuteranopia (green-blind)
#51470E
Tritanopia (blue-blind)
#8D0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1214;
/* rgb */ color: rgb(127, 18, 20);
/* oklch */ color: oklch(38.6% 0.143 26.5);
Tailwind
colors: {
  custom: {
    50: '#ad5d52',
    500: '#7f1214',
    950: '#000000',
  },
}
SCSS
$custom: #7f1214;
$custom-light: #ad5d52;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1214",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 20
  },
  "hsl": {
    "h": 358.899,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38557,
    "c": 0.14275,
    "h": 26.5
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#7F1214
secondary
#38B5B2
accent
#F2EE36
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1214

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

Preview Lab → · Contrast checker → · Palette generator →

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