#7F2912#7F2912

#7F2912 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.124 H 35.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7F2912
RGBrgb(127, 41, 18)
HSLhsl(13, 75%, 28%)
HSVhsv(13, 86%, 50%)
CMYKcmyk(0%, 67.7%, 85.8%, 50.2%)
CIE-LABlab(29.77, 36.01, 33.80)
CIE-LCHlch(29.77, 49.39, 43.19°)
OKLaboklab(40.83% 0.1007 0.0718)
OKLCHoklch(40.83% 0.124 35.5)
XYZxyz(9.6556, 6.1430, 1.2494)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2912 #12687F
analogous
#7F1231 #7F2912 #7F5F12
triadic
#7F2912 #127F29 #29127F
tetradic
#7F2912 #317F12 #12687F #5F127F
square
#7F2912 #317F12 #12687F #5F127F
split-complementary
#7F2912 #127F5F #12317F
monochromatic
#1B0904 #49180A #7F2912 #B53A1A #E1512B

Accessibility & contrast

On white

9.42
#7F2912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F2912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2912
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2912#FFFFFF#000000##FFFFFF
##7F29121.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#574D0E
Tritanopia (blue-blind)
#8C0F25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2912;
/* rgb */ color: rgb(127, 41, 18);
/* oklch */ color: oklch(40.8% 0.124 35.5);
Tailwind
colors: {
  custom: {
    50: '#ac6752',
    500: '#7f2912',
    950: '#000000',
  },
}
SCSS
$custom: #7f2912;
$custom-light: #ac6752;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2912",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 12.661,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.12371,
    "h": 35.5
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#7F2912
secondary
#389AB5
accent
#CAF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2912

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

Preview Lab → · Contrast checker → · Palette generator →

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