#7F1D0F#7F1D0F

#7F1D0F is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.135 H 31.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7F1D0F
RGBrgb(127, 29, 15)
HSLhsl(8, 79%, 28%)
HSVhsv(8, 88%, 50%)
CMYKcmyk(0%, 77.2%, 88.2%, 50.2%)
CIE-LABlab(27.92, 40.93, 33.69)
CIE-LCHlch(27.92, 53.01, 39.46°)
OKLaboklab(39.43% 0.1154 0.0703)
OKLCHoklch(39.43% 0.135 31.3)
XYZxyz(9.2791, 5.4267, 1.0107)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D0F #0F717F
analogous
#7F0F39 #7F1D0F #7F550F
triadic
#7F1D0F #0F7F1D #1D0F7F
tetradic
#7F1D0F #397F0F #0F717F #550F7F
square
#7F1D0F #397F0F #0F717F #550F7F
split-complementary
#7F1D0F #0F7F55 #0F397F
monochromatic
#1B0603 #481109 #7F1D0F #B62915 #E53C23

Accessibility & contrast

On white

10.07
#7F1D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D0F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D0F#FFFFFF#000000##FFFFFF
##7F1D0F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340C
Deuteranopia (green-blind)
#534A09
Tritanopia (blue-blind)
#8D001B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1d0f;
/* rgb */ color: rgb(127, 29, 15);
/* oklch */ color: oklch(39.4% 0.135 31.3);
Tailwind
colors: {
  custom: {
    50: '#ad614f',
    500: '#7f1d0f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d0f;
$custom-light: #ad614f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d0f",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 15
  },
  "hsl": {
    "h": 7.5,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.13512,
    "h": 31.3
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#7F1D0F
secondary
#34A5B5
accent
#DDF532
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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