#7F1612#7F1612

#7F1612 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.140 H 28.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7F1612
RGBrgb(127, 22, 18)
HSLhsl(2, 75%, 28%)
HSVhsv(2, 86%, 50%)
CMYKcmyk(0%, 82.7%, 85.8%, 50.2%)
CIE-LABlab(27.10, 43.36, 31.34)
CIE-LCHlch(27.10, 53.49, 35.86°)
OKLaboklab(38.83% 0.1236 0.0663)
OKLCHoklch(38.83% 0.14 28.2)
XYZxyz(9.1496, 5.1310, 1.0808)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1612 #127B7F
analogous
#7F1244 #7F1612 #7F4C12
triadic
#7F1612 #127F16 #16127F
tetradic
#7F1612 #447F12 #127B7F #4C127F
square
#7F1612 #447F12 #127B7F #4C127F
split-complementary
#7F1612 #127F4C #12447F
monochromatic
#1B0504 #490D0A #7F1612 #B51F1A #E1312B

Accessibility & contrast

On white

10.37
#7F1612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1612
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1612#FFFFFF#000000##FFFFFF
##7F16121.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383110
Deuteranopia (green-blind)
#52480C
Tritanopia (blue-blind)
#8D0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1612;
/* rgb */ color: rgb(127, 22, 18);
/* oklch */ color: oklch(38.8% 0.140 28.2);
Tailwind
colors: {
  custom: {
    50: '#ad5f51',
    500: '#7f1612',
    950: '#000000',
  },
}
SCSS
$custom: #7f1612;
$custom-light: #ad5f51;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1612",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 18
  },
  "hsl": {
    "h": 2.202,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38832,
    "c": 0.14022,
    "h": 28.2
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#7F1612
secondary
#38B0B5
accent
#EBF236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1612

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

Preview Lab → · Contrast checker → · Palette generator →

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