#7E4C52#7E4C52

#7E4C52 is a mid, moderate red. Relative luminance 0.102; OKLCH L 47.6% C 0.068 H 12.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7E4C52
RGBrgb(126, 76, 82)
HSLhsl(353, 25%, 40%)
HSVhsv(353, 40%, 49%)
CMYKcmyk(0%, 39.7%, 34.9%, 50.6%)
CIE-LABlab(38.23, 21.97, 5.47)
CIE-LCHlch(38.23, 22.64, 13.97°)
OKLaboklab(47.59% 0.0666 0.0144)
OKLCHoklch(47.59% 0.068 12.2)
XYZxyz(12.7121, 10.2147, 9.2831)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4C52 #4C7E78
analogous
#7E4C6B #7E4C52 #7E5F4C
triadic
#7E4C52 #527E4C #4C527E
tetradic
#7E4C52 #6B7E4C #4C7E78 #5F4C7E
square
#7E4C52 #6B7E4C #4C7E78 #5F4C7E
split-complementary
#7E4C52 #4C7E5F #4C6B7E
monochromatic
#321E20 #583539 #7E4C52 #A2656C #B98B91

Accessibility & contrast

On white

6.90
#7E4C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7E4C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4C52
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4C52#FFFFFF#000000##FFFFFF
##7E4C521.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555452
Deuteranopia (green-blind)
#615E51
Tritanopia (blue-blind)
#87474E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e4c52;
/* rgb */ color: rgb(126, 76, 82);
/* oklch */ color: oklch(47.6% 0.068 12.2);
Tailwind
colors: {
  custom: {
    50: '#a57f82',
    500: '#7e4c52',
    950: '#000000',
  },
}
SCSS
$custom: #7e4c52;
$custom-light: #a57f82;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4c52",
  "rgb": {
    "r": 126,
    "g": 76,
    "b": 82
  },
  "hsl": {
    "h": 352.8,
    "s": 24.752,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.06817,
    "h": 12.2
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#7E4C52
secondary
#80A6A1
accent
#C1B667
background
#FAF7F7
surface
#F4EEEE
border
#CEC9C9
text
#0F0A0A
muted
#7F7C7C

Preview Lab

Preview with #7E4C52

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

Preview Lab → · Contrast checker → · Palette generator →

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