#7F1A0F#7F1A0F

#7F1A0F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.138 H 30.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7F1A0F
RGBrgb(127, 26, 15)
HSLhsl(6, 79%, 28%)
HSVhsv(6, 88%, 50%)
CMYKcmyk(0%, 79.5%, 88.2%, 50.2%)
CIE-LABlab(27.54, 41.99, 33.36)
CIE-LCHlch(27.54, 53.63, 38.46°)
OKLaboklab(39.15% 0.1187 0.0695)
OKLCHoklch(39.15% 0.138 30.3)
XYZxyz(9.2092, 5.2868, 0.9874)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A0F #0F747F
analogous
#7F0F3C #7F1A0F #7F520F
triadic
#7F1A0F #0F7F1A #1A0F7F
tetradic
#7F1A0F #3C7F0F #0F747F #520F7F
square
#7F1A0F #3C7F0F #0F747F #520F7F
split-complementary
#7F1A0F #0F7F52 #0F3C7F
monochromatic
#1B0603 #480F09 #7F1A0F #B62515 #E53623

Accessibility & contrast

On white

10.21
#7F1A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A0F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A0F#FFFFFF#000000##FFFFFF
##7F1A0F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330C
Deuteranopia (green-blind)
#534908
Tritanopia (blue-blind)
#8D0019
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1a0f;
/* rgb */ color: rgb(127, 26, 15);
/* oklch */ color: oklch(39.1% 0.138 30.3);
Tailwind
colors: {
  custom: {
    50: '#ad604f',
    500: '#7f1a0f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a0f;
$custom-light: #ad604f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a0f",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 15
  },
  "hsl": {
    "h": 5.893,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39145,
    "c": 0.13757,
    "h": 30.3
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#7F1A0F
secondary
#34A9B5
accent
#E2F532
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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