#7F2B1C#7F2B1C

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

Color values

HEX#7F2B1C
RGBrgb(127, 43, 28)
HSLhsl(9, 64%, 30%)
HSVhsv(9, 78%, 50%)
CMYKcmyk(0%, 66.1%, 78%, 50.2%)
CIE-LABlab(30.22, 35.46, 28.72)
CIE-LCHlch(30.22, 45.63, 39.01°)
OKLaboklab(41.19% 0.101 0.064)
OKLCHoklch(41.19% 0.12 32.3)
XYZxyz(9.8269, 6.3250, 1.8018)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B1C #1C707F
analogous
#7F1C3E #7F2B1C #7F5C1C
triadic
#7F2B1C #1C7F2B #2B1C7F
tetradic
#7F2B1C #3E7F1C #1C707F #5C1C7F
square
#7F2B1C #3E7F1C #1C707F #5C1C7F
split-complementary
#7F2B1C #1C7F5C #1C3E7F
monochromatic
#1B0906 #4D1A11 #7F2B1C #B13C27 #D55740

Accessibility & contrast

On white

9.27
#7F2B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F2B1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B1C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B1C#FFFFFF#000000##FFFFFF
##7F2B1C1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B1A
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#8C1528
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2b1c;
/* rgb */ color: rgb(127, 43, 28);
/* oklch */ color: oklch(41.2% 0.120 32.3);
Tailwind
colors: {
  custom: {
    50: '#ab6959',
    500: '#7f2b1c',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b1c;
$custom-light: #ab6959;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b1c",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 28
  },
  "hsl": {
    "h": 9.091,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41194,
    "c": 0.11953,
    "h": 32.3
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#7F2B1C
secondary
#44A2B3
accent
#CEE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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