#7E4954#7E4954

#7E4954 is a mid, moderate red. Relative luminance 0.098; OKLCH L 47.1% C 0.073 H 6.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7E4954
RGBrgb(126, 73, 84)
HSLhsl(348, 27%, 39%)
HSVhsv(348, 42%, 49%)
CMYKcmyk(0%, 42.1%, 33.3%, 50.6%)
CIE-LABlab(37.56, 24.01, 3.25)
CIE-LCHlch(37.56, 24.23, 7.72°)
OKLaboklab(47.1% 0.0728 0.0088)
OKLCHoklch(47.1% 0.073 6.9)
XYZxyz(12.5874, 9.8418, 9.6225)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4954 #497E73
analogous
#7E496F #7E4954 #7E5949
triadic
#7E4954 #547E49 #49547E
tetradic
#7E4954 #6F7E49 #497E73 #59497E
square
#7E4954 #6F7E49 #497E73 #59497E
split-complementary
#7E4954 #497E59 #496F7E
monochromatic
#311C20 #57333A #7E4954 #A3616F #BA8892

Accessibility & contrast

On white

7.07
#7E4954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7E4954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4954
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4954#FFFFFF#000000##FFFFFF
##7E49541.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525254
Deuteranopia (green-blind)
#5F5C53
Tritanopia (blue-blind)
#87454D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e4954;
/* rgb */ color: rgb(126, 73, 84);
/* oklch */ color: oklch(47.1% 0.073 6.9);
Tailwind
colors: {
  custom: {
    50: '#a57d84',
    500: '#7e4954',
    950: '#000000',
  },
}
SCSS
$custom: #7e4954;
$custom-light: #a57d84;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4954",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 84
  },
  "hsl": {
    "h": 347.547,
    "s": 26.633,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47098,
    "c": 0.07332,
    "h": 6.9
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#7E4954
secondary
#7DA69D
accent
#C3AF65
background
#FAF7F8
surface
#F4EEEF
border
#CEC9CA
text
#0F090A
muted
#7F7B7C

Preview Lab

Preview with #7E4954

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

Preview Lab → · Contrast checker → · Palette generator →

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