#7F211D#7F211D

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

Color values

HEX#7F211D
RGBrgb(127, 33, 29)
HSLhsl(2, 63%, 31%)
HSVhsv(2, 77%, 50%)
CMYKcmyk(0%, 74%, 77.2%, 50.2%)
CIE-LABlab(28.62, 39.89, 26.36)
CIE-LCHlch(28.62, 47.81, 33.46°)
OKLaboklab(40% 0.1151 0.0591)
OKLCHoklch(40% 0.129 27.2)
XYZxyz(9.5191, 5.6899, 1.7592)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F211D #1D7B7F
analogous
#7F1D4A #7F211D #7F521D
triadic
#7F211D #1D7F21 #211D7F
tetradic
#7F211D #4A7F1D #1D7B7F #521D7F
square
#7F211D #4A7F1D #1D7B7F #521D7F
split-complementary
#7F211D #1D7F52 #1D4A7F
monochromatic
#1B0706 #4D1412 #7F211D #B12E28 #D44842

Accessibility & contrast

On white

9.82
#7F211D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F211D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F211D#FFFFFF#000000##FFFFFF
##7F211D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f211d;
/* rgb */ color: rgb(127, 33, 29);
/* oklch */ color: oklch(40.0% 0.129 27.2);
Tailwind
colors: {
  custom: {
    50: '#ab6359',
    500: '#7f211d',
    950: '#000000',
  },
}
SCSS
$custom: #7f211d;
$custom-light: #ab6359;
$custom-dark: #000000;
JSON
{
  "hex": "#7f211d",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 29
  },
  "hsl": {
    "h": 2.449,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39997,
    "c": 0.12935,
    "h": 27.2
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#7F211D
secondary
#45AEB2
accent
#DFE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F211D

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

Preview Lab → · Contrast checker → · Palette generator →

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