#7F2E1E#7F2E1E

#7F2E1E is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.116 H 33.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7F2E1E
RGBrgb(127, 46, 30)
HSLhsl(10, 62%, 31%)
HSVhsv(10, 76%, 50%)
CMYKcmyk(0%, 63.8%, 76.4%, 50.2%)
CIE-LABlab(30.79, 34.10, 28.16)
CIE-LCHlch(30.79, 44.23, 39.55°)
OKLaboklab(41.63% 0.0972 0.0633)
OKLCHoklch(41.63% 0.116 33.1)
XYZxyz(9.9648, 6.5611, 1.9698)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E1E #1E6F7F
analogous
#7F1E3E #7F2E1E #7F5E1E
triadic
#7F2E1E #1E7F2E #2E1E7F
tetradic
#7F2E1E #3E7F1E #1E6F7F #5E1E7F
square
#7F2E1E #3E7F1E #1E6F7F #5E1E7F
split-complementary
#7F2E1E #1E7F5E #1E3E7F
monochromatic
#1C0A07 #4D1C12 #7F2E1E #B1402A #D35C44

Accessibility & contrast

On white

9.08
#7F2E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F2E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E1E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E1E#FFFFFF#000000##FFFFFF
##7F2E1E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1C
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#8C1B2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e1e;
/* rgb */ color: rgb(127, 46, 30);
/* oklch */ color: oklch(41.6% 0.116 33.1);
Tailwind
colors: {
  custom: {
    50: '#ab6a5a',
    500: '#7f2e1e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e1e;
$custom-light: #ab6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e1e",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 30
  },
  "hsl": {
    "h": 9.897,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4163,
    "c": 0.11596,
    "h": 33.1
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#7F2E1E
secondary
#47A0B2
accent
#CAE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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