#7F2F2B#7F2F2B

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

Color values

HEX#7F2F2B
RGBrgb(127, 47, 43)
HSLhsl(3, 49%, 33%)
HSVhsv(3, 66%, 50%)
CMYKcmyk(0%, 63%, 66.1%, 50.2%)
CIE-LABlab(31.16, 34.36, 20.61)
CIE-LCHlch(31.16, 40.07, 30.95°)
OKLaboklab(41.97% 0.1007 0.049)
OKLCHoklch(41.97% 0.112 25.9)
XYZxyz(10.2059, 6.7208, 3.0449)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F2B #2B7B7F
analogous
#7F2B51 #7F2F2B #7F592B
triadic
#7F2F2B #2B7F2F #2F2B7F
tetradic
#7F2F2B #517F2B #2B7B7F #592B7F
square
#7F2F2B #517F2B #2B7B7F #592B7F
split-complementary
#7F2F2B #2B7F59 #2B517F
monochromatic
#240D0C #511E1C #7F2F2B #AD403A #C8625C

Accessibility & contrast

On white

8.96
#7F2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2F2B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F2B#FFFFFF#000000##FFFFFF
##7F2F2B1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2A
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#8B1F2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f2b;
/* rgb */ color: rgb(127, 47, 43);
/* oklch */ color: oklch(42.0% 0.112 25.9);
Tailwind
colors: {
  custom: {
    50: '#aa6b64',
    500: '#7f2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f2b;
$custom-light: #aa6b64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f2b",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 2.857,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.11198,
    "h": 25.9
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#7F2F2B
secondary
#58AAAE
accent
#D2D94F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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