#7F211F#7F211F

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

Color values

HEX#7F211F
RGBrgb(127, 33, 31)
HSLhsl(1, 61%, 31%)
HSVhsv(1, 76%, 50%)
CMYKcmyk(0%, 74%, 75.6%, 50.2%)
CIE-LABlab(28.64, 39.98, 25.15)
CIE-LCHlch(28.64, 47.23, 32.18°)
OKLaboklab(40.03% 0.1158 0.057)
OKLCHoklch(40.03% 0.129 26.2)
XYZxyz(9.5447, 5.7001, 1.8937)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F211F #1F7D7F
analogous
#7F1F4D #7F211F #7F511F
triadic
#7F211F #1F7F21 #211F7F
tetradic
#7F211F #4D7F1F #1F7D7F #511F7F
square
#7F211F #4D7F1F #1F7D7F #511F7F
split-complementary
#7F211F #1F7F51 #1F4D7F
monochromatic
#1D0707 #4E1413 #7F211F #B02E2B #D24946

Accessibility & contrast

On white

9.81
#7F211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F211F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F211F#FFFFFF#000000##FFFFFF
##7F211F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C371E
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f211f;
/* rgb */ color: rgb(127, 33, 31);
/* oklch */ color: oklch(40.0% 0.129 26.2);
Tailwind
colors: {
  custom: {
    50: '#ab635b',
    500: '#7f211f',
    950: '#000000',
  },
}
SCSS
$custom: #7f211f;
$custom-light: #ab635b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f211f",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 1.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.12905,
    "h": 26.2
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#7F211F
secondary
#48B0B2
accent
#E1E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F211F

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

Preview Lab → · Contrast checker → · Palette generator →

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