#7F211A#7F211A

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

Color values

HEX#7F211A
RGBrgb(127, 33, 26)
HSLhsl(4, 66%, 30%)
HSVhsv(4, 80%, 50%)
CMYKcmyk(0%, 74%, 79.5%, 50.2%)
CIE-LABlab(28.58, 39.76, 28.15)
CIE-LCHlch(28.58, 48.71, 35.30°)
OKLaboklab(39.96% 0.114 0.0622)
OKLCHoklch(39.96% 0.13 28.6)
XYZxyz(9.4838, 5.6758, 1.5732)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F211A #1A787F
analogous
#7F1A46 #7F211A #7F531A
triadic
#7F211A #1A7F21 #211A7F
tetradic
#7F211A #467F1A #1A787F #531A7F
square
#7F211A #467F1A #1A787F #531A7F
split-complementary
#7F211A #1A7F53 #1A467F
monochromatic
#190705 #4C1410 #7F211A #B22E24 #D7473C

Accessibility & contrast

On white

9.84
#7F211A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F211A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F211A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F211A#FFFFFF#000000##FFFFFF
##7F211A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3618
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f211a;
/* rgb */ color: rgb(127, 33, 26);
/* oklch */ color: oklch(40.0% 0.130 28.6);
Tailwind
colors: {
  custom: {
    50: '#ac6357',
    500: '#7f211a',
    950: '#000000',
  },
}
SCSS
$custom: #7f211a;
$custom-light: #ac6357;
$custom-dark: #000000;
JSON
{
  "hex": "#7f211a",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 26
  },
  "hsl": {
    "h": 4.158,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.12983,
    "h": 28.6
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#7F211A
secondary
#42ABB3
accent
#DDE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F211A

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

Preview Lab → · Contrast checker → · Palette generator →

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