#7F2D16#7F2D16

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

Color values

HEX#7F2D16
RGBrgb(127, 45, 22)
HSLhsl(13, 70%, 29%)
HSVhsv(13, 83%, 50%)
CMYKcmyk(0%, 64.6%, 82.7%, 50.2%)
CIE-LABlab(30.52, 34.25, 32.41)
CIE-LCHlch(30.52, 47.15, 43.42°)
OKLaboklab(41.4% 0.096 0.0702)
OKLCHoklch(41.4% 0.119 36.2)
XYZxyz(9.8367, 6.4481, 1.4855)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D16 #16687F
analogous
#7F1634 #7F2D16 #7F6216
triadic
#7F2D16 #167F2D #2D167F
tetradic
#7F2D16 #347F16 #16687F #62167F
square
#7F2D16 #347F16 #16687F #62167F
split-complementary
#7F2D16 #167F62 #16347F
monochromatic
#1A0905 #4B1B0D #7F2D16 #B33F1F #DC5834

Accessibility & contrast

On white

9.17
#7F2D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2D16
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D16#FFFFFF#000000##FFFFFF
##7F2D161.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C13
Deuteranopia (green-blind)
#584F13
Tritanopia (blue-blind)
#8C1828
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2d16;
/* rgb */ color: rgb(127, 45, 22);
/* oklch */ color: oklch(41.4% 0.119 36.2);
Tailwind
colors: {
  custom: {
    50: '#ab6a55',
    500: '#7f2d16',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d16;
$custom-light: #ab6a55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d16",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 22
  },
  "hsl": {
    "h": 13.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41399,
    "c": 0.11894,
    "h": 36.2
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#7F2D16
secondary
#3D9AB4
accent
#C6ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2D16

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

Preview Lab → · Contrast checker → · Palette generator →

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