#7F2212#7F2212

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

Color values

HEX#7F2212
RGBrgb(127, 34, 18)
HSLhsl(9, 75%, 28%)
HSVhsv(9, 86%, 50%)
CMYKcmyk(0%, 73.2%, 85.8%, 50.2%)
CIE-LABlab(28.65, 39.07, 32.77)
CIE-LCHlch(28.65, 50.99, 39.99°)
OKLaboklab(39.98% 0.1102 0.0695)
OKLCHoklch(39.98% 0.13 32.2)
XYZxyz(9.4347, 5.7012, 1.1758)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2212 #126F7F
analogous
#7F1238 #7F2212 #7F5812
triadic
#7F2212 #127F22 #22127F
tetradic
#7F2212 #387F12 #126F7F #58127F
square
#7F2212 #387F12 #126F7F #58127F
split-complementary
#7F2212 #127F58 #12387F
monochromatic
#1B0704 #49140A #7F2212 #B5301A #E1452B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2212#FFFFFF#000000##FFFFFF
##7F22121.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)
#3E360F
Deuteranopia (green-blind)
#554B0D
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2212;
/* rgb */ color: rgb(127, 34, 18);
/* oklch */ color: oklch(40.0% 0.130 32.2);
Tailwind
colors: {
  custom: {
    50: '#ac6452',
    500: '#7f2212',
    950: '#000000',
  },
}
SCSS
$custom: #7f2212;
$custom-light: #ac6452;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2212",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 8.807,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39981,
    "c": 0.13027,
    "h": 32.2
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#7F2212
secondary
#38A2B5
accent
#D6F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2212

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

Preview Lab → · Contrast checker → · Palette generator →

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