#7E302D#7E302D

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

Color values

HEX#7E302D
RGBrgb(126, 48, 45)
HSLhsl(2, 47%, 34%)
HSVhsv(2, 64%, 49%)
CMYKcmyk(0%, 61.9%, 64.3%, 50.6%)
CIE-LABlab(31.21, 33.62, 19.36)
CIE-LCHlch(31.21, 38.80, 29.93°)
OKLaboklab(41.99% 0.0989 0.0464)
OKLCHoklch(41.99% 0.109 25.1)
XYZxyz(10.1357, 6.7403, 3.2494)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E302D #2D7B7E
analogous
#7E2D52 #7E302D #7E582D
triadic
#7E302D #2D7E30 #302D7E
tetradic
#7E302D #527E2D #2D7B7E #582D7E
square
#7E302D #527E2D #2D7B7E #582D7E
split-complementary
#7E302D #2D7E58 #2D527E
monochromatic
#240E0D #511F1D #7E302D #AB413D #C6635F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E302D#FFFFFF#000000##FFFFFF
##7E302D1.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)
#443F2C
Deuteranopia (green-blind)
#57502B
Tritanopia (blue-blind)
#8A2130
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e302d;
/* rgb */ color: rgb(126, 48, 45);
/* oklch */ color: oklch(42.0% 0.109 25.1);
Tailwind
colors: {
  custom: {
    50: '#a96c66',
    500: '#7e302d',
    950: '#000000',
  },
}
SCSS
$custom: #7e302d;
$custom-light: #a96c66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e302d",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 45
  },
  "hsl": {
    "h": 2.222,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.10924,
    "h": 25.1
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#7E302D
secondary
#5AA9AC
accent
#D2D751
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E302D

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

Preview Lab → · Contrast checker → · Palette generator →

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