#7E4D52#7E4D52

#7E4D52 is a mid, moderate red. Relative luminance 0.104; OKLCH L 47.8% C 0.067 H 13.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7E4D52
RGBrgb(126, 77, 82)
HSLhsl(354, 24%, 40%)
HSVhsv(354, 39%, 49%)
CMYKcmyk(0%, 38.9%, 34.9%, 50.6%)
CIE-LABlab(38.47, 21.38, 5.81)
CIE-LCHlch(38.47, 22.16, 15.21°)
OKLaboklab(47.78% 0.0649 0.0153)
OKLCHoklch(47.78% 0.067 13.3)
XYZxyz(12.7815, 10.3535, 9.3062)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4D52 #4D7E79
analogous
#7E4D6A #7E4D52 #7E614D
triadic
#7E4D52 #527E4D #4D527E
tetradic
#7E4D52 #6A7E4D #4D7E79 #614D7E
square
#7E4D52 #6A7E4D #4D7E79 #614D7E
split-complementary
#7E4D52 #4D7E61 #4D6A7E
monochromatic
#321F21 #583639 #7E4D52 #A2666C #B98C91

Accessibility & contrast

On white

6.84
#7E4D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7E4D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4D52
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4D52#FFFFFF#000000##FFFFFF
##7E4D521.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565552
Deuteranopia (green-blind)
#625E51
Tritanopia (blue-blind)
#87484F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e4d52;
/* rgb */ color: rgb(126, 77, 82);
/* oklch */ color: oklch(47.8% 0.067 13.3);
Tailwind
colors: {
  custom: {
    50: '#a57f82',
    500: '#7e4d52',
    950: '#000000',
  },
}
SCSS
$custom: #7e4d52;
$custom-light: #a57f82;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4d52",
  "rgb": {
    "r": 126,
    "g": 77,
    "b": 82
  },
  "hsl": {
    "h": 353.878,
    "s": 24.138,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47777,
    "c": 0.06663,
    "h": 13.3
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#7E4D52
secondary
#81A6A2
accent
#C1B767
background
#FAF7F7
surface
#F4EEEE
border
#CEC9C9
text
#0F0A0A
muted
#7F7C7C

Preview Lab

Preview with #7E4D52

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

Preview Lab → · Contrast checker → · Palette generator →

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