#7F1510#7F1510

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

Color values

HEX#7F1510
RGBrgb(127, 21, 16)
HSLhsl(3, 78%, 28%)
HSVhsv(3, 87%, 50%)
CMYKcmyk(0%, 83.5%, 87.4%, 50.2%)
CIE-LABlab(26.98, 43.60, 32.33)
CIE-LCHlch(26.98, 54.28, 36.56°)
OKLaboklab(38.74% 0.1239 0.0676)
OKLCHoklch(38.74% 0.141 28.6)
XYZxyz(9.1152, 5.0873, 0.9921)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1510 #107A7F
analogous
#7F1042 #7F1510 #7F4C10
triadic
#7F1510 #107F15 #15107F
tetradic
#7F1510 #427F10 #107A7F #4C107F
square
#7F1510 #427F10 #107A7F #4C107F
split-complementary
#7F1510 #107F4C #10427F
monochromatic
#1B0403 #490C09 #7F1510 #B51E17 #E42E26

Accessibility & contrast

On white

10.41
#7F1510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1510
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1510#FFFFFF#000000##FFFFFF
##7F15101.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310E
Deuteranopia (green-blind)
#514809
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1510;
/* rgb */ color: rgb(127, 21, 16);
/* oklch */ color: oklch(38.7% 0.141 28.6);
Tailwind
colors: {
  custom: {
    50: '#ad5e4f',
    500: '#7f1510',
    950: '#000000',
  },
}
SCSS
$custom: #7f1510;
$custom-light: #ad5e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1510",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 16
  },
  "hsl": {
    "h": 2.703,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38735,
    "c": 0.14118,
    "h": 28.6
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#7F1510
secondary
#36AFB5
accent
#EBF434
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1510

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

Preview Lab → · Contrast checker → · Palette generator →

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