#7F2F1D#7F2F1D

#7F2F1D is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.8% C 0.115 H 34.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7F2F1D
RGBrgb(127, 47, 29)
HSLhsl(11, 63%, 31%)
HSVhsv(11, 77%, 50%)
CMYKcmyk(0%, 63%, 77.2%, 50.2%)
CIE-LABlab(30.96, 33.56, 28.94)
CIE-LCHlch(30.96, 44.31, 40.78°)
OKLaboklab(41.76% 0.0953 0.0647)
OKLCHoklch(41.76% 0.115 34.2)
XYZxyz(9.9917, 6.6351, 1.9167)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F1D #1D6D7F
analogous
#7F1D3C #7F2F1D #7F601D
triadic
#7F2F1D #1D7F2F #2F1D7F
tetradic
#7F2F1D #3C7F1D #1D6D7F #601D7F
square
#7F2F1D #3C7F1D #1D6D7F #601D7F
split-complementary
#7F2F1D #1D7F60 #1D3C7F
monochromatic
#1B0A06 #4D1D12 #7F2F1D #B14128 #D45D42

Accessibility & contrast

On white

9.03
#7F2F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F2F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F1D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F1D#FFFFFF#000000##FFFFFF
##7F2F1D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1B
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#8C1C2B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f1d;
/* rgb */ color: rgb(127, 47, 29);
/* oklch */ color: oklch(41.8% 0.115 34.2);
Tailwind
colors: {
  custom: {
    50: '#ab6b5a',
    500: '#7f2f1d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f1d;
$custom-light: #ab6b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f1d",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 29
  },
  "hsl": {
    "h": 11.02,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.11517,
    "h": 34.2
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#7F2F1D
secondary
#459EB2
accent
#C8E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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