#7F2412#7F2412

#7F2412 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.128 H 33.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7F2412
RGBrgb(127, 36, 18)
HSLhsl(10, 75%, 28%)
HSVhsv(10, 86%, 50%)
CMYKcmyk(0%, 71.7%, 85.8%, 50.2%)
CIE-LABlab(28.95, 38.24, 33.05)
CIE-LCHlch(28.95, 50.54, 40.84°)
OKLaboklab(40.21% 0.1076 0.0701)
OKLCHoklch(40.21% 0.128 33.1)
XYZxyz(9.4936, 5.8189, 1.1954)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2412 #126D7F
analogous
#7F1236 #7F2412 #7F5A12
triadic
#7F2412 #127F24 #24127F
tetradic
#7F2412 #367F12 #126D7F #5A127F
square
#7F2412 #367F12 #126D7F #5A127F
split-complementary
#7F2412 #127F5A #12367F
monochromatic
#1B0804 #49150A #7F2412 #B5331A #E1492B

Accessibility & contrast

On white

9.71
#7F2412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F2412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2412
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2412#FFFFFF#000000##FFFFFF
##7F24121.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370F
Deuteranopia (green-blind)
#554C0D
Tritanopia (blue-blind)
#8C0221
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2412;
/* rgb */ color: rgb(127, 36, 18);
/* oklch */ color: oklch(40.2% 0.128 33.1);
Tailwind
colors: {
  custom: {
    50: '#ac6552',
    500: '#7f2412',
    950: '#000000',
  },
}
SCSS
$custom: #7f2412;
$custom-light: #ac6552;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2412",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 18
  },
  "hsl": {
    "h": 9.908,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4021,
    "c": 0.12843,
    "h": 33.1
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#7F2412
secondary
#38A0B5
accent
#D3F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2412

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

Preview Lab → · Contrast checker → · Palette generator →

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