#7F2712#7F2712

#7F2712 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.126 H 34.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7F2712
RGBrgb(127, 39, 18)
HSLhsl(12, 75%, 28%)
HSVhsv(12, 86%, 50%)
CMYKcmyk(0%, 69.3%, 85.8%, 50.2%)
CIE-LABlab(29.43, 36.92, 33.49)
CIE-LCHlch(29.43, 49.85, 42.21°)
OKLaboklab(40.57% 0.1036 0.0711)
OKLCHoklch(40.57% 0.126 34.5)
XYZxyz(9.5882, 6.0082, 1.2270)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2712 #126A7F
analogous
#7F1233 #7F2712 #7F5D12
triadic
#7F2712 #127F27 #27127F
tetradic
#7F2712 #337F12 #126A7F #5D127F
square
#7F2712 #337F12 #126A7F #5D127F
split-complementary
#7F2712 #127F5D #12337F
monochromatic
#1B0804 #49170A #7F2712 #B5371A #E14E2B

Accessibility & contrast

On white

9.54
#7F2712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F2712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2712
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2712#FFFFFF#000000##FFFFFF
##7F27121.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#564D0E
Tritanopia (blue-blind)
#8C0A23
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2712;
/* rgb */ color: rgb(127, 39, 18);
/* oklch */ color: oklch(40.6% 0.126 34.5);
Tailwind
colors: {
  custom: {
    50: '#ac6652',
    500: '#7f2712',
    950: '#000000',
  },
}
SCSS
$custom: #7f2712;
$custom-light: #ac6652;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2712",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 18
  },
  "hsl": {
    "h": 11.56,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.12562,
    "h": 34.5
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#7F2712
secondary
#389DB5
accent
#CEF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2712

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

Preview Lab → · Contrast checker → · Palette generator →

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