#7F2C1E#7F2C1E

#7F2C1E is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.118 H 31.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7F2C1E
RGBrgb(127, 44, 30)
HSLhsl(9, 62%, 31%)
HSVhsv(9, 76%, 50%)
CMYKcmyk(0%, 65.4%, 76.4%, 50.2%)
CIE-LABlab(30.42, 35.07, 27.76)
CIE-LCHlch(30.42, 44.73, 38.36°)
OKLaboklab(41.35% 0.1002 0.0624)
OKLCHoklch(41.35% 0.118 31.9)
XYZxyz(9.8885, 6.4085, 1.9443)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C1E #1E717F
analogous
#7F1E40 #7F2C1E #7F5C1E
triadic
#7F2C1E #1E7F2C #2C1E7F
tetradic
#7F2C1E #407F1E #1E717F #5C1E7F
square
#7F2C1E #407F1E #1E717F #5C1E7F
split-complementary
#7F2C1E #1E7F5C #1E407F
monochromatic
#1C0A07 #4D1B12 #7F2C1E #B13D2A #D35944

Accessibility & contrast

On white

9.20
#7F2C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F2C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C1E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C1E#FFFFFF#000000##FFFFFF
##7F2C1E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1C
Deuteranopia (green-blind)
#584E1B
Tritanopia (blue-blind)
#8C1729
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2c1e;
/* rgb */ color: rgb(127, 44, 30);
/* oklch */ color: oklch(41.4% 0.118 31.9);
Tailwind
colors: {
  custom: {
    50: '#ab695a',
    500: '#7f2c1e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c1e;
$custom-light: #ab695a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c1e",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 30
  },
  "hsl": {
    "h": 8.66,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.11803,
    "h": 31.9
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#7F2C1E
secondary
#47A3B2
accent
#CDE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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