#7F1C0E#7F1C0E

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

Color values

HEX#7F1C0E
RGBrgb(127, 28, 14)
HSLhsl(7, 80%, 28%)
HSVhsv(7, 89%, 50%)
CMYKcmyk(0%, 78%, 89%, 50.2%)
CIE-LABlab(27.78, 41.27, 34.08)
CIE-LCHlch(27.78, 53.52, 39.55°)
OKLaboklab(39.32% 0.1163 0.0707)
OKLCHoklch(39.32% 0.136 31.3)
XYZxyz(9.2481, 5.3757, 0.9661)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C0E #0E717F
analogous
#7F0E38 #7F1C0E #7F550E
triadic
#7F1C0E #0E7F1C #1C0E7F
tetradic
#7F1C0E #387F0E #0E717F #550E7F
square
#7F1C0E #387F0E #0E717F #550E7F
split-complementary
#7F1C0E #0E7F55 #0E387F
monochromatic
#1C0603 #481008 #7F1C0E #B62814 #E73921

Accessibility & contrast

On white

10.12
#7F1C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C0E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C0E#FFFFFF#000000##FFFFFF
##7F1C0E1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340B
Deuteranopia (green-blind)
#534907
Tritanopia (blue-blind)
#8D001A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1c0e;
/* rgb */ color: rgb(127, 28, 14);
/* oklch */ color: oklch(39.3% 0.136 31.3);
Tailwind
colors: {
  custom: {
    50: '#ad614f',
    500: '#7f1c0e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c0e;
$custom-light: #ad614f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c0e",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 14
  },
  "hsl": {
    "h": 7.434,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39324,
    "c": 0.13609,
    "h": 31.3
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#7F1C0E
secondary
#33A6B6
accent
#DEF731
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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