#7F2B1E#7F2B1E

#7F2B1E is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.119 H 31.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7F2B1E
RGBrgb(127, 43, 30)
HSLhsl(8, 62%, 31%)
HSVhsv(8, 76%, 50%)
CMYKcmyk(0%, 66.1%, 76.4%, 50.2%)
CIE-LABlab(30.24, 35.55, 27.56)
CIE-LCHlch(30.24, 44.98, 37.79°)
OKLaboklab(41.22% 0.1017 0.062)
OKLCHoklch(41.22% 0.119 31.3)
XYZxyz(9.8517, 6.3349, 1.9320)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B1E #1E727F
analogous
#7F1E41 #7F2B1E #7F5B1E
triadic
#7F2B1E #1E7F2B #2B1E7F
tetradic
#7F2B1E #417F1E #1E727F #5B1E7F
square
#7F2B1E #417F1E #1E727F #5B1E7F
split-complementary
#7F2B1E #1E7F5B #1E417F
monochromatic
#1C0907 #4D1A12 #7F2B1E #B13C2A #D35844

Accessibility & contrast

On white

9.26
#7F2B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F2B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B1E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B1E#FFFFFF#000000##FFFFFF
##7F2B1E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1C
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#8C1628
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2b1e;
/* rgb */ color: rgb(127, 43, 30);
/* oklch */ color: oklch(41.2% 0.119 31.3);
Tailwind
colors: {
  custom: {
    50: '#ab695a',
    500: '#7f2b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b1e;
$custom-light: #ab695a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b1e",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 30
  },
  "hsl": {
    "h": 8.041,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4122,
    "c": 0.11907,
    "h": 31.3
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#7F2B1E
secondary
#47A4B2
accent
#CFE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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