#7F2E2B#7F2E2B

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

Color values

HEX#7F2E2B
RGBrgb(127, 46, 43)
HSLhsl(2, 49%, 33%)
HSVhsv(2, 66%, 50%)
CMYKcmyk(0%, 63.8%, 66.1%, 50.2%)
CIE-LABlab(30.98, 34.86, 20.38)
CIE-LCHlch(30.98, 40.38, 30.31°)
OKLaboklab(41.84% 0.1023 0.0484)
OKLCHoklch(41.84% 0.113 25.3)
XYZxyz(10.1664, 6.6418, 3.0317)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E2B #2B7C7F
analogous
#7F2B52 #7F2E2B #7F582B
triadic
#7F2E2B #2B7F2E #2E2B7F
tetradic
#7F2E2B #527F2B #2B7C7F #582B7F
square
#7F2E2B #527F2B #2B7C7F #582B7F
split-complementary
#7F2E2B #2B7F58 #2B527F
monochromatic
#240D0C #511D1C #7F2E2B #AD3F3A #C8605C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2E2B#FFFFFF#000000##FFFFFF
##7F2E2B1.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)
#433E2A
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#8B1D2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2e2b;
/* rgb */ color: rgb(127, 46, 43);
/* oklch */ color: oklch(41.8% 0.113 25.3);
Tailwind
colors: {
  custom: {
    50: '#aa6b64',
    500: '#7f2e2b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e2b;
$custom-light: #aa6b64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e2b",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 2.143,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41835,
    "c": 0.11316,
    "h": 25.3
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#7F2E2B
secondary
#58ABAE
accent
#D4D94F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F2E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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