#7F2D1B#7F2D1B

#7F2D1B is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.118 H 34.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7F2D1B
RGBrgb(127, 45, 27)
HSLhsl(11, 65%, 30%)
HSVhsv(11, 79%, 50%)
CMYKcmyk(0%, 64.6%, 78.7%, 50.2%)
CIE-LABlab(30.57, 34.45, 29.68)
CIE-LCHlch(30.57, 45.47, 40.74°)
OKLaboklab(41.45% 0.0977 0.0658)
OKLCHoklch(41.45% 0.118 34)
XYZxyz(9.8897, 6.4693, 1.7646)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D1B #1B6D7F
analogous
#7F1B3B #7F2D1B #7F5F1B
triadic
#7F2D1B #1B7F2D #2D1B7F
tetradic
#7F2D1B #3B7F1B #1B6D7F #5F1B7F
square
#7F2D1B #3B7F1B #1B6D7F #5F1B7F
split-complementary
#7F2D1B #1B7F5F #1B3B7F
monochromatic
#1A0906 #4D1B10 #7F2D1B #B13F26 #D65A3E

Accessibility & contrast

On white

9.16
#7F2D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F2D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D1B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D1B#FFFFFF#000000##FFFFFF
##7F2D1B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D19
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#8C1829
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2d1b;
/* rgb */ color: rgb(127, 45, 27);
/* oklch */ color: oklch(41.5% 0.118 34.0);
Tailwind
colors: {
  custom: {
    50: '#ab6a58',
    500: '#7f2d1b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d1b;
$custom-light: #ab6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d1b",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 27
  },
  "hsl": {
    "h": 10.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41453,
    "c": 0.11772,
    "h": 34
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#7F2D1B
secondary
#439FB3
accent
#CAE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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