#7F1C0F#7F1C0F

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

Color values

HEX#7F1C0F
RGBrgb(127, 28, 15)
HSLhsl(7, 79%, 28%)
HSVhsv(7, 88%, 50%)
CMYKcmyk(0%, 78%, 88.2%, 50.2%)
CIE-LABlab(27.79, 41.29, 33.57)
CIE-LCHlch(27.79, 53.22, 39.11°)
OKLaboklab(39.33% 0.1166 0.07)
OKLCHoklch(39.33% 0.136 31)
XYZxyz(9.2550, 5.3785, 1.0027)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C0F #0F727F
analogous
#7F0F3A #7F1C0F #7F540F
triadic
#7F1C0F #0F7F1C #1C0F7F
tetradic
#7F1C0F #3A7F0F #0F727F #540F7F
square
#7F1C0F #3A7F0F #0F727F #540F7F
split-complementary
#7F1C0F #0F7F54 #0F3A7F
monochromatic
#1B0603 #481009 #7F1C0F #B62815 #E53A23

Accessibility & contrast

On white

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

On black

2.08
#7F1C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F1C0F#FFFFFF#000000##FFFFFF
##7F1C0F1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1c0f;
/* rgb */ color: rgb(127, 28, 15);
/* oklch */ color: oklch(39.3% 0.136 31.0);
Tailwind
colors: {
  custom: {
    50: '#ad614f',
    500: '#7f1c0f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c0f;
$custom-light: #ad614f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c0f",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 15
  },
  "hsl": {
    "h": 6.964,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39332,
    "c": 0.13596,
    "h": 31
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#7F1C0F
secondary
#34A6B5
accent
#DFF532
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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