#7F211B#7F211B

#7F211B is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.130 H 28.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7F211B
RGBrgb(127, 33, 27)
HSLhsl(4, 65%, 30%)
HSVhsv(4, 79%, 50%)
CMYKcmyk(0%, 74%, 78.7%, 50.2%)
CIE-LABlab(28.59, 39.80, 27.56)
CIE-LCHlch(28.59, 48.41, 34.70°)
OKLaboklab(39.97% 0.1143 0.0612)
OKLCHoklch(39.97% 0.13 28.1)
XYZxyz(9.4952, 5.6803, 1.6331)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F211B #1B797F
analogous
#7F1B47 #7F211B #7F531B
triadic
#7F211B #1B7F21 #211B7F
tetradic
#7F211B #477F1B #1B797F #531B7F
square
#7F211B #477F1B #1B797F #531B7F
split-complementary
#7F211B #1B7F53 #1B477F
monochromatic
#1A0706 #4D1410 #7F211B #B12E26 #D6473E

Accessibility & contrast

On white

9.83
#7F211B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F211B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F211B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F211B#FFFFFF#000000##FFFFFF
##7F211B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3619
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f211b;
/* rgb */ color: rgb(127, 33, 27);
/* oklch */ color: oklch(40.0% 0.130 28.1);
Tailwind
colors: {
  custom: {
    50: '#ac6358',
    500: '#7f211b',
    950: '#000000',
  },
}
SCSS
$custom: #7f211b;
$custom-light: #ac6358;
$custom-dark: #000000;
JSON
{
  "hex": "#7f211b",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 27
  },
  "hsl": {
    "h": 3.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.12966,
    "h": 28.1
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#7F211B
secondary
#43ACB3
accent
#DEE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F211B

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

Preview Lab → · Contrast checker → · Palette generator →

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