#7F1514#7F1514

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

Color values

HEX#7F1514
RGBrgb(127, 21, 20)
HSLhsl(1, 73%, 29%)
HSVhsv(1, 84%, 50%)
CMYKcmyk(0%, 83.5%, 84.3%, 50.2%)
CIE-LABlab(27.02, 43.71, 30.11)
CIE-LCHlch(27.02, 53.08, 34.56°)
OKLaboklab(38.77% 0.1251 0.0644)
OKLCHoklch(38.77% 0.141 27.2)
XYZxyz(9.1480, 5.1004, 1.1645)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1514 #147E7F
analogous
#7F1449 #7F1514 #7F4B14
triadic
#7F1514 #147F15 #15147F
tetradic
#7F1514 #497F14 #147E7F #4B147F
square
#7F1514 #497F14 #147E7F #4B147F
split-complementary
#7F1514 #147F4B #14497F
monochromatic
#1A0404 #4A0C0C #7F1514 #B41E1C #DE312F

Accessibility & contrast

On white

10.40
#7F1514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F1514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1514
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1514#FFFFFF#000000##FFFFFF
##7F15141.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373112
Deuteranopia (green-blind)
#51480F
Tritanopia (blue-blind)
#8D0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1514;
/* rgb */ color: rgb(127, 21, 20);
/* oklch */ color: oklch(38.8% 0.141 27.2);
Tailwind
colors: {
  custom: {
    50: '#ad5e52',
    500: '#7f1514',
    950: '#000000',
  },
}
SCSS
$custom: #7f1514;
$custom-light: #ad5e52;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1514",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 20
  },
  "hsl": {
    "h": 0.561,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38774,
    "c": 0.1407,
    "h": 27.2
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#7F1514
secondary
#3BB3B4
accent
#EEEF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1514

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

Preview Lab → · Contrast checker → · Palette generator →

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