#7F2711#7F2711

#7F2711 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.126 H 34.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7F2711
RGBrgb(127, 39, 17)
HSLhsl(12, 76%, 28%)
HSVhsv(12, 87%, 50%)
CMYKcmyk(0%, 69.3%, 86.6%, 50.2%)
CIE-LABlab(29.43, 36.89, 34.00)
CIE-LCHlch(29.43, 50.17, 42.66°)
OKLaboklab(40.56% 0.1033 0.0718)
OKLCHoklch(40.56% 0.126 34.8)
XYZxyz(9.5802, 6.0050, 1.1848)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2711 #11697F
analogous
#7F1132 #7F2711 #7F5E11
triadic
#7F2711 #117F27 #27117F
tetradic
#7F2711 #327F11 #11697F #5E117F
square
#7F2711 #327F11 #11697F #5E117F
split-complementary
#7F2711 #117F5E #11327F
monochromatic
#1B0804 #49160A #7F2711 #B53818 #E24D28

Accessibility & contrast

On white

9.54
#7F2711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F2711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2711
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2711#FFFFFF#000000##FFFFFF
##7F27111.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#564D0C
Tritanopia (blue-blind)
#8C0A23
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2711;
/* rgb */ color: rgb(127, 39, 17);
/* oklch */ color: oklch(40.6% 0.126 34.8);
Tailwind
colors: {
  custom: {
    50: '#ac6651',
    500: '#7f2711',
    950: '#000000',
  },
}
SCSS
$custom: #7f2711;
$custom-light: #ac6651;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2711",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 17
  },
  "hsl": {
    "h": 12,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.12581,
    "h": 34.8
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#7F2711
secondary
#379CB5
accent
#CDF335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2711

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

Preview Lab → · Contrast checker → · Palette generator →

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