#7F2612#7F2612

#7F2612 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.127 H 34.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7F2612
RGBrgb(127, 38, 18)
HSLhsl(11, 75%, 28%)
HSVhsv(11, 86%, 50%)
CMYKcmyk(0%, 70.1%, 85.8%, 50.2%)
CIE-LABlab(29.27, 37.37, 33.34)
CIE-LCHlch(29.27, 50.08, 41.74°)
OKLaboklab(40.45% 0.1049 0.0708)
OKLCHoklch(40.45% 0.127 34)
XYZxyz(9.5558, 5.9434, 1.2162)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2612 #126B7F
analogous
#7F1234 #7F2612 #7F5C12
triadic
#7F2612 #127F26 #26127F
tetradic
#7F2612 #347F12 #126B7F #5C127F
square
#7F2612 #347F12 #126B7F #5C127F
split-complementary
#7F2612 #127F5C #12347F
monochromatic
#1B0804 #49160A #7F2612 #B5361A #E14C2B

Accessibility & contrast

On white

9.60
#7F2612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F2612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2612
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2612#FFFFFF#000000##FFFFFF
##7F26121.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380F
Deuteranopia (green-blind)
#564C0D
Tritanopia (blue-blind)
#8C0822
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2612;
/* rgb */ color: rgb(127, 38, 18);
/* oklch */ color: oklch(40.4% 0.127 34.0);
Tailwind
colors: {
  custom: {
    50: '#ac6652',
    500: '#7f2612',
    950: '#000000',
  },
}
SCSS
$custom: #7f2612;
$custom-light: #ac6652;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2612",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 18
  },
  "hsl": {
    "h": 11.009,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.12656,
    "h": 34
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#7F2612
secondary
#389EB5
accent
#CFF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2612

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

Preview Lab → · Contrast checker → · Palette generator →

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