#7F1815#7F1815

#7F1815 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.138 H 27.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7F1815
RGBrgb(127, 24, 21)
HSLhsl(2, 72%, 29%)
HSVhsv(2, 83%, 50%)
CMYKcmyk(0%, 81.1%, 83.5%, 50.2%)
CIE-LABlab(27.36, 42.83, 29.85)
CIE-LCHlch(27.36, 52.20, 34.88°)
OKLaboklab(39.03% 0.1225 0.0642)
OKLCHoklch(39.03% 0.138 27.7)
XYZxyz(9.2155, 5.2209, 1.2318)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1815 #157C7F
analogous
#7F1547 #7F1815 #7F4D15
triadic
#7F1815 #157F18 #18157F
tetradic
#7F1815 #477F15 #157C7F #4D157F
square
#7F1815 #477F15 #157C7F #4D157F
split-complementary
#7F1815 #157F4D #15477F
monochromatic
#1A0504 #4A0E0C #7F1815 #B4221E #DD3631

Accessibility & contrast

On white

10.27
#7F1815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1815
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1815#FFFFFF#000000##FFFFFF
##7F18151.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393213
Deuteranopia (green-blind)
#524910
Tritanopia (blue-blind)
#8D0019
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1815;
/* rgb */ color: rgb(127, 24, 21);
/* oklch */ color: oklch(39.0% 0.138 27.7);
Tailwind
colors: {
  custom: {
    50: '#ad5f53',
    500: '#7f1815',
    950: '#000000',
  },
}
SCSS
$custom: #7f1815;
$custom-light: #ad5f53;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1815",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 21
  },
  "hsl": {
    "h": 1.698,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.13833,
    "h": 27.7
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#7F1815
secondary
#3CB1B4
accent
#E9EE39
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1815

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

Preview Lab → · Contrast checker → · Palette generator →

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