#7F1211#7F1211

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

Color values

HEX#7F1211
RGBrgb(127, 18, 17)
HSLhsl(1, 76%, 28%)
HSVhsv(1, 87%, 50%)
CMYKcmyk(0%, 85.8%, 86.6%, 50.2%)
CIE-LABlab(26.70, 44.46, 31.52)
CIE-LCHlch(26.70, 54.50, 35.34°)
OKLaboklab(38.53% 0.1268 0.0663)
OKLCHoklch(38.53% 0.143 27.6)
XYZxyz(9.0710, 4.9866, 1.0151)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1211 #117E7F
analogous
#7F1147 #7F1211 #7F4911
triadic
#7F1211 #117F12 #12117F
tetradic
#7F1211 #477F11 #117E7F #49117F
square
#7F1211 #477F11 #117E7F #49117F
split-complementary
#7F1211 #117F49 #11477F
monochromatic
#1B0404 #490A0A #7F1211 #B51A18 #E22A28

Accessibility & contrast

On white

10.52
#7F1211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1211
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1211#FFFFFF#000000##FFFFFF
##7F12111.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300F
Deuteranopia (green-blind)
#51470A
Tritanopia (blue-blind)
#8D0014
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1211;
/* rgb */ color: rgb(127, 18, 17);
/* oklch */ color: oklch(38.5% 0.143 27.6);
Tailwind
colors: {
  custom: {
    50: '#ad5d50',
    500: '#7f1211',
    950: '#000000',
  },
}
SCSS
$custom: #7f1211;
$custom-light: #ad5d50;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1211",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 17
  },
  "hsl": {
    "h": 0.545,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38526,
    "c": 0.14308,
    "h": 27.6
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#7F1211
secondary
#37B4B5
accent
#F1F335
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1211

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

Preview Lab → · Contrast checker → · Palette generator →

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