#7F2B16#7F2B16

#7F2B16 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.1% C 0.121 H 35.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7F2B16
RGBrgb(127, 43, 22)
HSLhsl(12, 70%, 29%)
HSVhsv(12, 83%, 50%)
CMYKcmyk(0%, 66.1%, 82.7%, 50.2%)
CIE-LABlab(30.15, 35.21, 32.06)
CIE-LCHlch(30.15, 47.62, 42.31°)
OKLaboklab(41.13% 0.099 0.0694)
OKLCHoklch(41.13% 0.121 35)
XYZxyz(9.7622, 6.2991, 1.4607)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B16 #166A7F
analogous
#7F1636 #7F2B16 #7F6016
triadic
#7F2B16 #167F2B #2B167F
tetradic
#7F2B16 #367F16 #166A7F #60167F
square
#7F2B16 #367F16 #166A7F #60167F
split-complementary
#7F2B16 #167F60 #16367F
monochromatic
#1A0905 #4B190D #7F2B16 #B33D1F #DC5534

Accessibility & contrast

On white

9.29
#7F2B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2B16
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B16#FFFFFF#000000##FFFFFF
##7F2B161.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B13
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#8C1427
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2b16;
/* rgb */ color: rgb(127, 43, 22);
/* oklch */ color: oklch(41.1% 0.121 35.0);
Tailwind
colors: {
  custom: {
    50: '#ab6955',
    500: '#7f2b16',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b16;
$custom-light: #ab6955;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b16",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 22
  },
  "hsl": {
    "h": 12,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41126,
    "c": 0.1209,
    "h": 35
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#7F2B16
secondary
#3D9CB4
accent
#CAED3B
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2B16

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

Preview Lab → · Contrast checker → · Palette generator →

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