#7F2512#7F2512

#7F2512 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.128 H 33.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7F2512
RGBrgb(127, 37, 18)
HSLhsl(10, 75%, 28%)
HSVhsv(10, 86%, 50%)
CMYKcmyk(0%, 70.9%, 85.8%, 50.2%)
CIE-LABlab(29.11, 37.81, 33.19)
CIE-LCHlch(29.11, 50.31, 41.28°)
OKLaboklab(40.33% 0.1063 0.0704)
OKLCHoklch(40.33% 0.128 33.5)
XYZxyz(9.5243, 5.8803, 1.2057)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2512 #126C7F
analogous
#7F1235 #7F2512 #7F5B12
triadic
#7F2512 #127F25 #25127F
tetradic
#7F2512 #357F12 #126C7F #5B127F
square
#7F2512 #357F12 #126C7F #5B127F
split-complementary
#7F2512 #127F5B #12357F
monochromatic
#1B0804 #49150A #7F2512 #B5351A #E14A2B

Accessibility & contrast

On white

9.65
#7F2512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F2512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2512
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2512#FFFFFF#000000##FFFFFF
##7F25121.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2512;
/* rgb */ color: rgb(127, 37, 18);
/* oklch */ color: oklch(40.3% 0.128 33.5);
Tailwind
colors: {
  custom: {
    50: '#ac6552',
    500: '#7f2512',
    950: '#000000',
  },
}
SCSS
$custom: #7f2512;
$custom-light: #ac6552;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2512",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 18
  },
  "hsl": {
    "h": 10.459,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.1275,
    "h": 33.5
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#7F2512
secondary
#389FB5
accent
#D1F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2512

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

Preview Lab → · Contrast checker → · Palette generator →

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