#7F2216#7F2216

#7F2216 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.130 H 30.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7F2216
RGBrgb(127, 34, 22)
HSLhsl(7, 70%, 29%)
HSVhsv(7, 83%, 50%)
CMYKcmyk(0%, 73.2%, 82.7%, 50.2%)
CIE-LABlab(28.68, 39.20, 30.60)
CIE-LCHlch(28.68, 49.73, 37.97°)
OKLaboklab(40.02% 0.1114 0.0662)
OKLCHoklch(40.02% 0.13 30.7)
XYZxyz(9.4704, 5.7155, 1.3634)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2216 #16737F
analogous
#7F163F #7F2216 #7F5716
triadic
#7F2216 #167F22 #22167F
tetradic
#7F2216 #3F7F16 #16737F #57167F
square
#7F2216 #3F7F16 #16737F #57167F
split-complementary
#7F2216 #167F57 #163F7F
monochromatic
#1A0705 #4B140D #7F2216 #B3301F #DC4734

Accessibility & contrast

On white

9.80
#7F2216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F2216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2216
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2216#FFFFFF#000000##FFFFFF
##7F22161.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3714
Deuteranopia (green-blind)
#554B12
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2216;
/* rgb */ color: rgb(127, 34, 22);
/* oklch */ color: oklch(40.0% 0.130 30.7);
Tailwind
colors: {
  custom: {
    50: '#ac6454',
    500: '#7f2216',
    950: '#000000',
  },
}
SCSS
$custom: #7f2216;
$custom-light: #ac6454;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2216",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 22
  },
  "hsl": {
    "h": 6.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40021,
    "c": 0.12958,
    "h": 30.7
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#7F2216
secondary
#3DA6B4
accent
#D9ED3B
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2216

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

Preview Lab → · Contrast checker → · Palette generator →

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