#7F1315#7F1315

#7F1315 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.142 H 26.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7F1315
RGBrgb(127, 19, 21)
HSLhsl(359, 74%, 29%)
HSVhsv(359, 85%, 50%)
CMYKcmyk(0%, 85%, 83.5%, 50.2%)
CIE-LABlab(26.83, 44.31, 29.33)
CIE-LCHlch(26.83, 53.14, 33.50°)
OKLaboklab(38.64% 0.1272 0.0631)
OKLCHoklch(38.64% 0.142 26.4)
XYZxyz(9.1218, 5.0334, 1.2006)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1315 #137F7D
analogous
#7F134B #7F1315 #7F4713
triadic
#7F1315 #157F13 #13157F
tetradic
#7F1315 #4B7F13 #137F7D #47137F
square
#7F1315 #4B7F13 #137F7D #47137F
split-complementary
#7F1315 #137F47 #134B7F
monochromatic
#1B0404 #4A0B0C #7F1315 #B41B1E #E02D30

Accessibility & contrast

On white

10.47
#7F1315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7F1315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1315
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1315#FFFFFF#000000##FFFFFF
##7F13151.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373114
Deuteranopia (green-blind)
#514810
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1315;
/* rgb */ color: rgb(127, 19, 21);
/* oklch */ color: oklch(38.6% 0.142 26.4);
Tailwind
colors: {
  custom: {
    50: '#ad5e53',
    500: '#7f1315',
    950: '#000000',
  },
}
SCSS
$custom: #7f1315;
$custom-light: #ad5e53;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1315",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 21
  },
  "hsl": {
    "h": 358.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.14197,
    "h": 26.4
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#7F1315
secondary
#39B4B2
accent
#F1ED37
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1315

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

Preview Lab → · Contrast checker → · Palette generator →

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