#7F1715#7F1715

#7F1715 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.139 H 27.4°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7F1715
RGBrgb(127, 23, 21)
HSLhsl(1, 72%, 29%)
HSVhsv(1, 83%, 50%)
CMYKcmyk(0%, 81.9%, 83.5%, 50.2%)
CIE-LABlab(27.24, 43.14, 29.74)
CIE-LCHlch(27.24, 52.40, 34.58°)
OKLaboklab(38.94% 0.1235 0.064)
OKLCHoklch(38.94% 0.139 27.4)
XYZxyz(9.1953, 5.1804, 1.2251)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1715 #157D7F
analogous
#7F1548 #7F1715 #7F4C15
triadic
#7F1715 #157F17 #17157F
tetradic
#7F1715 #487F15 #157D7F #4C157F
square
#7F1715 #487F15 #157D7F #4C157F
split-complementary
#7F1715 #157F4C #15487F
monochromatic
#1A0504 #4A0D0C #7F1715 #B4211E #DD3531

Accessibility & contrast

On white

10.32
#7F1715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1715
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1715#FFFFFF#000000##FFFFFF
##7F17151.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383213
Deuteranopia (green-blind)
#524810
Tritanopia (blue-blind)
#8D0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1715;
/* rgb */ color: rgb(127, 23, 21);
/* oklch */ color: oklch(38.9% 0.139 27.4);
Tailwind
colors: {
  custom: {
    50: '#ad5f53',
    500: '#7f1715',
    950: '#000000',
  },
}
SCSS
$custom: #7f1715;
$custom-light: #ad5f53;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1715",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 21
  },
  "hsl": {
    "h": 1.132,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38944,
    "c": 0.1391,
    "h": 27.4
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#7F1715
secondary
#3CB2B4
accent
#EBEE39
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1715

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

Preview Lab → · Contrast checker → · Palette generator →

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