#7F1A12#7F1A12

#7F1A12 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 29.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7F1A12
RGBrgb(127, 26, 18)
HSLhsl(4, 75%, 28%)
HSVhsv(4, 86%, 50%)
CMYKcmyk(0%, 79.5%, 85.8%, 50.2%)
CIE-LABlab(27.56, 42.07, 31.76)
CIE-LCHlch(27.56, 52.72, 37.05°)
OKLaboklab(39.17% 0.1196 0.0672)
OKLCHoklch(39.17% 0.137 29.4)
XYZxyz(9.2321, 5.2960, 1.1083)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A12 #12777F
analogous
#7F1240 #7F1A12 #7F5012
triadic
#7F1A12 #127F1A #1A127F
tetradic
#7F1A12 #407F12 #12777F #50127F
square
#7F1A12 #407F12 #12777F #50127F
split-complementary
#7F1A12 #127F50 #12407F
monochromatic
#1B0504 #490F0A #7F1A12 #B5251A #E1382B

Accessibility & contrast

On white

10.20
#7F1A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A12
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A12#FFFFFF#000000##FFFFFF
##7F1A121.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3310
Deuteranopia (green-blind)
#53490C
Tritanopia (blue-blind)
#8D0019
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1a12;
/* rgb */ color: rgb(127, 26, 18);
/* oklch */ color: oklch(39.2% 0.137 29.4);
Tailwind
colors: {
  custom: {
    50: '#ad6051',
    500: '#7f1a12',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a12;
$custom-light: #ad6051;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a12",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 18
  },
  "hsl": {
    "h": 4.404,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39172,
    "c": 0.13716,
    "h": 29.4
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#7F1A12
secondary
#38ACB5
accent
#E4F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1A12

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

Preview Lab → · Contrast checker → · Palette generator →

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