#7F2F1E#7F2F1E

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

Color values

HEX#7F2F1E
RGBrgb(127, 47, 30)
HSLhsl(11, 62%, 31%)
HSVhsv(11, 76%, 50%)
CMYKcmyk(0%, 63%, 76.4%, 50.2%)
CIE-LABlab(30.97, 33.61, 28.37)
CIE-LCHlch(30.97, 43.98, 40.17°)
OKLaboklab(41.77% 0.0956 0.0637)
OKLCHoklch(41.77% 0.115 33.7)
XYZxyz(10.0043, 6.6402, 1.9829)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F1E #1E6E7F
analogous
#7F1E3E #7F2F1E #7F5F1E
triadic
#7F2F1E #1E7F2F #2F1E7F
tetradic
#7F2F1E #3E7F1E #1E6E7F #5F1E7F
square
#7F2F1E #3E7F1E #1E6E7F #5F1E7F
split-complementary
#7F2F1E #1E7F5F #1E3E7F
monochromatic
#1C0A07 #4D1D12 #7F2F1E #B1412A #D35D44

Accessibility & contrast

On white

9.02
#7F2F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2F1E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F1E#FFFFFF#000000##FFFFFF
##7F2F1E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2f1e;
/* rgb */ color: rgb(127, 47, 30);
/* oklch */ color: oklch(41.8% 0.115 33.7);
Tailwind
colors: {
  custom: {
    50: '#ab6b5a',
    500: '#7f2f1e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f1e;
$custom-light: #ab6b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f1e",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 30
  },
  "hsl": {
    "h": 10.515,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.11491,
    "h": 33.7
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#7F2F1E
secondary
#479FB2
accent
#C8E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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