#7E302E#7E302E

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

Color values

HEX#7E302E
RGBrgb(126, 48, 46)
HSLhsl(2, 47%, 34%)
HSVhsv(2, 63%, 49%)
CMYKcmyk(0%, 61.9%, 63.5%, 50.6%)
CIE-LABlab(31.23, 33.70, 18.74)
CIE-LCHlch(31.23, 38.56, 29.08°)
OKLaboklab(42.01% 0.0993 0.0451)
OKLCHoklch(42.01% 0.109 24.4)
XYZxyz(10.1552, 6.7481, 3.3520)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E302E #2E7C7E
analogous
#7E2E54 #7E302E #7E582E
triadic
#7E302E #2E7E30 #302E7E
tetradic
#7E302E #547E2E #2E7C7E #582E7E
square
#7E302E #547E2E #2E7C7E #582E7E
split-complementary
#7E302E #2E7E58 #2E547E
monochromatic
#240E0D #511F1E #7E302E #AB413E #C56461

Accessibility & contrast

On white

8.94
#7E302E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E302E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E302E#FFFFFF#000000##FFFFFF
##7E302E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e302e;
/* rgb */ color: rgb(126, 48, 46);
/* oklch */ color: oklch(42.0% 0.109 24.4);
Tailwind
colors: {
  custom: {
    50: '#a96c66',
    500: '#7e302e',
    950: '#000000',
  },
}
SCSS
$custom: #7e302e;
$custom-light: #a96c66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e302e",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 46
  },
  "hsl": {
    "h": 1.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42005,
    "c": 0.10909,
    "h": 24.4
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#7E302E
secondary
#5CAAAC
accent
#D3D652
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E302E

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

Preview Lab → · Contrast checker → · Palette generator →

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