#7F302F#7F302F

#7F302F is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.2% C 0.110 H 23.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7F302F
RGBrgb(127, 48, 47)
HSLhsl(1, 46%, 34%)
HSVhsv(1, 63%, 50%)
CMYKcmyk(0%, 62.2%, 63%, 50.2%)
CIE-LABlab(31.42, 34.15, 18.39)
CIE-LCHlch(31.42, 38.79, 28.30°)
OKLaboklab(42.19% 0.1008 0.0444)
OKLCHoklch(42.19% 0.11 23.7)
XYZxyz(10.3234, 6.8325, 3.4640)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F302F #2F7E7F
analogous
#7F2F56 #7F302F #7F582F
triadic
#7F302F #2F7F30 #302F7F
tetradic
#7F302F #567F2F #2F7E7F #582F7F
square
#7F302F #567F2F #2F7E7F #582F7F
split-complementary
#7F302F #2F7F58 #2F567F
monochromatic
#260E0E #521F1E #7F302F #AC4140 #C56463

Accessibility & contrast

On white

8.87
#7F302F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F302F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F302F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F302F#FFFFFF#000000##FFFFFF
##7F302F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2E
Deuteranopia (green-blind)
#58502D
Tritanopia (blue-blind)
#8B2130
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f302f;
/* rgb */ color: rgb(127, 48, 47);
/* oklch */ color: oklch(42.2% 0.110 23.7);
Tailwind
colors: {
  custom: {
    50: '#a96c67',
    500: '#7f302f',
    950: '#000000',
  },
}
SCSS
$custom: #7f302f;
$custom-light: #a96c67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f302f",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42193,
    "c": 0.11017,
    "h": 23.7
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#7F302F
secondary
#5EABAC
accent
#D4D652
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F302F

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

Preview Lab → · Contrast checker → · Palette generator →

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