#7F1515#7F1515

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

Color values

HEX#7F1515
RGBrgb(127, 21, 21)
HSLhsl(0, 72%, 29%)
HSVhsv(0, 83%, 50%)
CMYKcmyk(0%, 83.5%, 83.5%, 50.2%)
CIE-LABlab(27.03, 43.75, 29.53)
CIE-LCHlch(27.03, 52.78, 34.02°)
OKLaboklab(38.78% 0.1254 0.0635)
OKLCHoklch(38.78% 0.141 26.8)
XYZxyz(9.1571, 5.1040, 1.2123)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1515 #157F7F
analogous
#7F154A #7F1515 #7F4A15
triadic
#7F1515 #157F15 #15157F
tetradic
#7F1515 #4A7F15 #157F7F #4A157F
square
#7F1515 #4A7F15 #157F7F #4A157F
split-complementary
#7F1515 #157F4A #154A7F
monochromatic
#1A0404 #4A0C0C #7F1515 #B41E1E #DD3131

Accessibility & contrast

On white

10.39
#7F1515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1515
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1515#FFFFFF#000000##FFFFFF
##7F15151.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373113
Deuteranopia (green-blind)
#514810
Tritanopia (blue-blind)
#8D0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1515;
/* rgb */ color: rgb(127, 21, 21);
/* oklch */ color: oklch(38.8% 0.141 26.8);
Tailwind
colors: {
  custom: {
    50: '#ad5e53',
    500: '#7f1515',
    950: '#000000',
  },
}
SCSS
$custom: #7f1515;
$custom-light: #ad5e53;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1515",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 21
  },
  "hsl": {
    "h": 0,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38785,
    "c": 0.14057,
    "h": 26.8
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#7F1515
secondary
#3CB4B4
accent
#EEEE39
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1515

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

Preview Lab → · Contrast checker → · Palette generator →

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