#7F2E1F#7F2E1F

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

Color values

HEX#7F2E1F
RGBrgb(127, 46, 31)
HSLhsl(9, 61%, 31%)
HSVhsv(9, 76%, 50%)
CMYKcmyk(0%, 63.8%, 75.6%, 50.2%)
CIE-LABlab(30.80, 34.15, 27.58)
CIE-LCHlch(30.80, 43.90, 38.93°)
OKLaboklab(41.64% 0.0975 0.0622)
OKLCHoklch(41.64% 0.116 32.5)
XYZxyz(9.9778, 6.5663, 2.0381)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E1F #1F707F
analogous
#7F1F40 #7F2E1F #7F5E1F
triadic
#7F2E1F #1F7F2E #2E1F7F
tetradic
#7F2E1F #407F1F #1F707F #5E1F7F
square
#7F2E1F #407F1F #1F707F #5E1F7F
split-complementary
#7F2E1F #1F7F5E #1F407F
monochromatic
#1D0A07 #4E1C13 #7F2E1F #B0402B #D25C46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2E1F#FFFFFF#000000##FFFFFF
##7F2E1F1.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)
#443D1D
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#8C1B2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e1f;
/* rgb */ color: rgb(127, 46, 31);
/* oklch */ color: oklch(41.6% 0.116 32.5);
Tailwind
colors: {
  custom: {
    50: '#ab6a5b',
    500: '#7f2e1f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e1f;
$custom-light: #ab6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e1f",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 9.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41643,
    "c": 0.11571,
    "h": 32.5
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#7F2E1F
secondary
#48A1B2
accent
#CBE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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