#7F2B1D#7F2B1D

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

Color values

HEX#7F2B1D
RGBrgb(127, 43, 29)
HSLhsl(9, 63%, 31%)
HSVhsv(9, 77%, 50%)
CMYKcmyk(0%, 66.1%, 77.2%, 50.2%)
CIE-LABlab(30.23, 35.50, 28.14)
CIE-LCHlch(30.23, 45.30, 38.40°)
OKLaboklab(41.21% 0.1013 0.063)
OKLCHoklch(41.21% 0.119 31.9)
XYZxyz(9.8391, 6.3299, 1.8659)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B1D #1D717F
analogous
#7F1D40 #7F2B1D #7F5C1D
triadic
#7F2B1D #1D7F2B #2B1D7F
tetradic
#7F2B1D #407F1D #1D717F #5C1D7F
square
#7F2B1D #407F1D #1D717F #5C1D7F
split-complementary
#7F2B1D #1D7F5C #1D407F
monochromatic
#1B0906 #4D1A12 #7F2B1D #B13C28 #D45742

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2B1D#FFFFFF#000000##FFFFFF
##7F2B1D1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1B
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#8C1528
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2b1d;
/* rgb */ color: rgb(127, 43, 29);
/* oklch */ color: oklch(41.2% 0.119 31.9);
Tailwind
colors: {
  custom: {
    50: '#ab695a',
    500: '#7f2b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b1d;
$custom-light: #ab695a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b1d",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 29
  },
  "hsl": {
    "h": 8.571,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41207,
    "c": 0.1193,
    "h": 31.9
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#7F2B1D
secondary
#45A3B2
accent
#CEE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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