#7F211E#7F211E

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

Color values

HEX#7F211E
RGBrgb(127, 33, 30)
HSLhsl(2, 62%, 31%)
HSVhsv(2, 76%, 50%)
CMYKcmyk(0%, 74%, 76.4%, 50.2%)
CIE-LABlab(28.63, 39.93, 25.76)
CIE-LCHlch(28.63, 47.52, 32.83°)
OKLaboklab(40.01% 0.1154 0.058)
OKLCHoklch(40.01% 0.129 26.7)
XYZxyz(9.5317, 5.6949, 1.8254)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F211E #1E7C7F
analogous
#7F1E4B #7F211E #7F511E
triadic
#7F211E #1E7F21 #211E7F
tetradic
#7F211E #4B7F1E #1E7C7F #511E7F
square
#7F211E #4B7F1E #1E7C7F #511E7F
split-complementary
#7F211E #1E7F51 #1E4B7F
monochromatic
#1C0707 #4D1412 #7F211E #B12E2A #D34944

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F211E#FFFFFF#000000##FFFFFF
##7F211E1.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)
#3C371D
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f211e;
/* rgb */ color: rgb(127, 33, 30);
/* oklch */ color: oklch(40.0% 0.129 26.7);
Tailwind
colors: {
  custom: {
    50: '#ab635a',
    500: '#7f211e',
    950: '#000000',
  },
}
SCSS
$custom: #7f211e;
$custom-light: #ab635a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f211e",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 30
  },
  "hsl": {
    "h": 1.856,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.1292,
    "h": 26.7
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#7F211E
secondary
#47AFB2
accent
#E0E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F211E

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

Preview Lab → · Contrast checker → · Palette generator →

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