#7E303E#7E303E

#7E303E is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.4% C 0.109 H 12.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7E303E
RGBrgb(126, 48, 62)
HSLhsl(349, 45%, 34%)
HSVhsv(349, 62%, 49%)
CMYKcmyk(0%, 61.9%, 50.8%, 50.6%)
CIE-LABlab(31.57, 35.09, 8.85)
CIE-LCHlch(31.57, 36.19, 14.15°)
OKLaboklab(42.38% 0.1062 0.0226)
OKLCHoklch(42.38% 0.109 12)
XYZxyz(10.5314, 6.8986, 5.3335)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E303E #307E70
analogous
#7E3065 #7E303E #7E4930
triadic
#7E303E #3E7E30 #303E7E
tetradic
#7E303E #657E30 #307E70 #49307E
square
#7E303E #657E30 #307E70 #49307E
split-complementary
#7E303E #307E49 #30657E
monochromatic
#250E12 #521F28 #7E303E #AA4154 #C46476

Accessibility & contrast

On white

8.83
#7E303E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E303E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E303E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E303E#FFFFFF#000000##FFFFFF
##7E303E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403E
Deuteranopia (green-blind)
#55503C
Tritanopia (blue-blind)
#892535
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e303e;
/* rgb */ color: rgb(126, 48, 62);
/* oklch */ color: oklch(42.4% 0.109 12.0);
Tailwind
colors: {
  custom: {
    50: '#a76c73',
    500: '#7e303e',
    950: '#000000',
  },
}
SCSS
$custom: #7e303e;
$custom-light: #a76c73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e303e",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 62
  },
  "hsl": {
    "h": 349.231,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42381,
    "c": 0.10856,
    "h": 12
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#7E303E
secondary
#5FAB9D
accent
#D5BD53
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7E303E

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

Preview Lab → · Contrast checker → · Palette generator →

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