#7F2F16#7F2F16

#7F2F16 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.117 H 37.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7F2F16
RGBrgb(127, 47, 22)
HSLhsl(14, 70%, 29%)
HSVhsv(14, 83%, 50%)
CMYKcmyk(0%, 63%, 82.7%, 50.2%)
CIE-LABlab(30.89, 33.26, 32.77)
CIE-LCHlch(30.89, 46.70, 44.58°)
OKLaboklab(41.68% 0.093 0.071)
OKLCHoklch(41.68% 0.117 37.3)
XYZxyz(9.9148, 6.6044, 1.5116)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F16 #16667F
analogous
#7F1631 #7F2F16 #7F6416
triadic
#7F2F16 #167F2F #2F167F
tetradic
#7F2F16 #317F16 #16667F #64167F
square
#7F2F16 #317F16 #16667F #64167F
split-complementary
#7F2F16 #167F64 #16317F
monochromatic
#1A0A05 #4B1C0D #7F2F16 #B3421F #DC5C34

Accessibility & contrast

On white

9.05
#7F2F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F2F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F16
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F16#FFFFFF#000000##FFFFFF
##7F2F161.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E12
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#8C1B2A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f16;
/* rgb */ color: rgb(127, 47, 22);
/* oklch */ color: oklch(41.7% 0.117 37.3);
Tailwind
colors: {
  custom: {
    50: '#ab6b55',
    500: '#7f2f16',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f16;
$custom-light: #ab6b55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f16",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 22
  },
  "hsl": {
    "h": 14.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.11698,
    "h": 37.3
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#7F2F16
secondary
#3D98B4
accent
#C3ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2F16

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

Preview Lab → · Contrast checker → · Palette generator →

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