#7F1513#7F1513

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

Color values

HEX#7F1513
RGBrgb(127, 21, 19)
HSLhsl(1, 74%, 29%)
HSVhsv(1, 85%, 50%)
CMYKcmyk(0%, 83.5%, 85%, 50.2%)
CIE-LABlab(27.01, 43.68, 30.68)
CIE-LCHlch(27.01, 53.38, 35.08°)
OKLaboklab(38.76% 0.1248 0.0652)
OKLCHoklch(38.76% 0.141 27.6)
XYZxyz(9.1392, 5.0969, 1.1186)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1513 #137D7F
analogous
#7F1347 #7F1513 #7F4B13
triadic
#7F1513 #137F15 #15137F
tetradic
#7F1513 #477F13 #137D7F #4B137F
square
#7F1513 #477F13 #137D7F #4B137F
split-complementary
#7F1513 #137F4B #13477F
monochromatic
#1B0404 #4A0C0B #7F1513 #B41E1B #E0302D

Accessibility & contrast

On white

10.40
#7F1513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1513
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1513#FFFFFF#000000##FFFFFF
##7F15131.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383111
Deuteranopia (green-blind)
#51480D
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1513;
/* rgb */ color: rgb(127, 21, 19);
/* oklch */ color: oklch(38.8% 0.141 27.6);
Tailwind
colors: {
  custom: {
    50: '#ad5e52',
    500: '#7f1513',
    950: '#000000',
  },
}
SCSS
$custom: #7f1513;
$custom-light: #ad5e52;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1513",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 19
  },
  "hsl": {
    "h": 1.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38764,
    "c": 0.14082,
    "h": 27.6
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#7F1513
secondary
#39B2B4
accent
#EDF137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1513

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

Preview Lab → · Contrast checker → · Palette generator →

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