#7E302F#7E302F

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

Color values

HEX#7E302F
RGBrgb(126, 48, 47)
HSLhsl(1, 46%, 34%)
HSVhsv(1, 63%, 49%)
CMYKcmyk(0%, 61.9%, 62.7%, 50.6%)
CIE-LABlab(31.25, 33.77, 18.13)
CIE-LCHlch(31.25, 38.33, 28.23°)
OKLaboklab(42.03% 0.0998 0.0438)
OKLCHoklch(42.03% 0.109 23.7)
XYZxyz(10.1752, 6.7561, 3.4570)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E302F #2F7D7E
analogous
#7E2F56 #7E302F #7E582F
triadic
#7E302F #2F7E30 #302F7E
tetradic
#7E302F #567E2F #2F7D7E #582F7E
square
#7E302F #567E2F #2F7D7E #582F7E
split-complementary
#7E302F #2F7E58 #2F567E
monochromatic
#250E0E #511F1E #7E302F #AB4140 #C56463

Accessibility & contrast

On white

8.93
#7E302F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E302F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E302F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E302F#FFFFFF#000000##FFFFFF
##7E302F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2E
Deuteranopia (green-blind)
#57502D
Tritanopia (blue-blind)
#8A2130
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e302f;
/* rgb */ color: rgb(126, 48, 47);
/* oklch */ color: oklch(42.0% 0.109 23.7);
Tailwind
colors: {
  custom: {
    50: '#a86c67',
    500: '#7e302f',
    950: '#000000',
  },
}
SCSS
$custom: #7e302f;
$custom-light: #a86c67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e302f",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.759,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42025,
    "c": 0.10894,
    "h": 23.7
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#7E302F
secondary
#5DABAC
accent
#D4D552
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E302F

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

Preview Lab → · Contrast checker → · Palette generator →

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