#7E3142#7E3142

#7E3142 is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.6% C 0.108 H 9.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7E3142
RGBrgb(126, 49, 66)
HSLhsl(347, 44%, 34%)
HSVhsv(347, 61%, 49%)
CMYKcmyk(0%, 61.1%, 47.6%, 50.6%)
CIE-LABlab(31.87, 35.00, 6.65)
CIE-LCHlch(31.87, 35.63, 10.76°)
OKLaboklab(42.63% 0.1063 0.0173)
OKLCHoklch(42.63% 0.108 9.2)
XYZxyz(10.6866, 7.0268, 5.9467)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3142 #317E6D
analogous
#7E3169 #7E3142 #7E4731
triadic
#7E3142 #427E31 #31427E
tetradic
#7E3142 #697E31 #317E6D #47317E
square
#7E3142 #697E31 #317E6D #47317E
split-complementary
#7E3142 #317E47 #31697E
monochromatic
#260F14 #52202B #7E3142 #AA4259 #C3667B

Accessibility & contrast

On white

8.73
#7E3142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E3142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3142
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3142#FFFFFF#000000##FFFFFF
##7E31421.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414142
Deuteranopia (green-blind)
#555140
Tritanopia (blue-blind)
#892737
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e3142;
/* rgb */ color: rgb(126, 49, 66);
/* oklch */ color: oklch(42.6% 0.108 9.2);
Tailwind
colors: {
  custom: {
    50: '#a76d76',
    500: '#7e3142',
    950: '#000000',
  },
}
SCSS
$custom: #7e3142;
$custom-light: #a76d76;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3142",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 346.753,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42634,
    "c": 0.10766,
    "h": 9.2
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#7E3142
secondary
#60AB9A
accent
#D4B854
background
#FAF6F7
surface
#F4ECED
border
#CEC7C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7E3142

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

Preview Lab → · Contrast checker → · Palette generator →

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