#7F1B0E#7F1B0E

#7F1B0E is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 31.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7F1B0E
RGBrgb(127, 27, 14)
HSLhsl(7, 80%, 28%)
HSVhsv(7, 89%, 50%)
CMYKcmyk(0%, 78.7%, 89%, 50.2%)
CIE-LABlab(27.65, 41.62, 33.97)
CIE-LCHlch(27.65, 53.72, 39.22°)
OKLaboklab(39.23% 0.1174 0.0704)
OKLCHoklch(39.23% 0.137 31)
XYZxyz(9.2247, 5.3291, 0.9583)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B0E #0E727F
analogous
#7F0E39 #7F1B0E #7F540E
triadic
#7F1B0E #0E7F1B #1B0E7F
tetradic
#7F1B0E #397F0E #0E727F #540E7F
square
#7F1B0E #397F0E #0E727F #540E7F
split-complementary
#7F1B0E #0E7F54 #0E397F
monochromatic
#1C0603 #480F08 #7F1B0E #B62714 #E73821

Accessibility & contrast

On white

10.17
#7F1B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1B0E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B0E#FFFFFF#000000##FFFFFF
##7F1B0E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1b0e;
/* rgb */ color: rgb(127, 27, 14);
/* oklch */ color: oklch(39.2% 0.137 31.0);
Tailwind
colors: {
  custom: {
    50: '#ad604f',
    500: '#7f1b0e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b0e;
$custom-light: #ad604f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b0e",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 14
  },
  "hsl": {
    "h": 6.903,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.1369,
    "h": 31
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#7F1B0E
secondary
#33A7B6
accent
#E0F731
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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