#7F1713#7F1713

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

Color values

HEX#7F1713
RGBrgb(127, 23, 19)
HSLhsl(2, 74%, 29%)
HSVhsv(2, 85%, 50%)
CMYKcmyk(0%, 81.9%, 85%, 50.2%)
CIE-LABlab(27.22, 43.08, 30.88)
CIE-LCHlch(27.22, 53.00, 35.63°)
OKLaboklab(38.92% 0.1229 0.0657)
OKLCHoklch(38.92% 0.139 28.1)
XYZxyz(9.1775, 5.1733, 1.1313)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1713 #137B7F
analogous
#7F1345 #7F1713 #7F4D13
triadic
#7F1713 #137F17 #17137F
tetradic
#7F1713 #457F13 #137B7F #4D137F
square
#7F1713 #457F13 #137B7F #4D137F
split-complementary
#7F1713 #137F4D #13457F
monochromatic
#1B0504 #4A0D0B #7F1713 #B4211B #E0332D

Accessibility & contrast

On white

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

On black

2.03
#7F1713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F1713#FFFFFF#000000##FFFFFF
##7F17131.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383211
Deuteranopia (green-blind)
#52480D
Tritanopia (blue-blind)
#8D0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1713;
/* rgb */ color: rgb(127, 23, 19);
/* oklch */ color: oklch(38.9% 0.139 28.1);
Tailwind
colors: {
  custom: {
    50: '#ad5f52',
    500: '#7f1713',
    950: '#000000',
  },
}
SCSS
$custom: #7f1713;
$custom-light: #ad5f52;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1713",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 19
  },
  "hsl": {
    "h": 2.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38923,
    "c": 0.13935,
    "h": 28.1
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#7F1713
secondary
#39B0B4
accent
#EAF137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1713

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

Preview Lab → · Contrast checker → · Palette generator →

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