#7F2F2A#7F2F2A

#7F2F2A is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.112 H 26.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7F2F2A
RGBrgb(127, 47, 42)
HSLhsl(4, 50%, 33%)
HSVhsv(4, 67%, 50%)
CMYKcmyk(0%, 63%, 66.9%, 50.2%)
CIE-LABlab(31.15, 34.30, 21.22)
CIE-LCHlch(31.15, 40.33, 31.75°)
OKLaboklab(41.96% 0.1003 0.0502)
OKLCHoklch(41.96% 0.112 26.6)
XYZxyz(10.1878, 6.7136, 2.9494)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F2A #2A7A7F
analogous
#7F2A4F #7F2F2A #7F592A
triadic
#7F2F2A #2A7F2F #2F2A7F
tetradic
#7F2F2A #4F7F2A #2A7A7F #592A7F
square
#7F2F2A #4F7F2A #2A7A7F #592A7F
split-complementary
#7F2F2A #2A7F59 #2A4F7F
monochromatic
#230D0C #511E1B #7F2F2A #AD4039 #C9615B

Accessibility & contrast

On white

8.97
#7F2F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7F2F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F2A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F2A#FFFFFF#000000##FFFFFF
##7F2F2A1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F29
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#8B1E2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f2a;
/* rgb */ color: rgb(127, 47, 42);
/* oklch */ color: oklch(42.0% 0.112 26.6);
Tailwind
colors: {
  custom: {
    50: '#aa6b63',
    500: '#7f2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f2a;
$custom-light: #aa6b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f2a",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 3.529,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41956,
    "c": 0.11217,
    "h": 26.6
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#7F2F2A
secondary
#57A9AE
accent
#D2DA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7F2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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