#7E2F36#7E2F36

#7E2F36 is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.110 H 17.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7E2F36
RGBrgb(126, 47, 54)
HSLhsl(355, 46%, 34%)
HSVhsv(355, 63%, 49%)
CMYKcmyk(0%, 62.7%, 57.1%, 50.6%)
CIE-LABlab(31.20, 34.84, 13.55)
CIE-LCHlch(31.20, 37.38, 21.25°)
OKLaboklab(42.04% 0.1043 0.0336)
OKLCHoklch(42.04% 0.11 17.9)
XYZxyz(10.2874, 6.7363, 4.2478)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F36 #2F7E77
analogous
#7E2F5E #7E2F36 #7E502F
triadic
#7E2F36 #367E2F #2F367E
tetradic
#7E2F36 #5E7E2F #2F7E77 #502F7E
square
#7E2F36 #5E7E2F #2F7E77 #502F7E
split-complementary
#7E2F36 #2F7E50 #2F5E7E
monochromatic
#250E10 #511E23 #7E2F36 #AB4049 #C5636B

Accessibility & contrast

On white

8.95
#7E2F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E2F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F36
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F36#FFFFFF#000000##FFFFFF
##7E2F361.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F36
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#8A2132
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f36;
/* rgb */ color: rgb(126, 47, 54);
/* oklch */ color: oklch(42.0% 0.110 17.9);
Tailwind
colors: {
  custom: {
    50: '#a86b6c',
    500: '#7e2f36',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f36;
$custom-light: #a86b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f36",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 54
  },
  "hsl": {
    "h": 354.684,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.10963,
    "h": 17.9
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#7E2F36
secondary
#5DACA5
accent
#D5CA52
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E2F36

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

Preview Lab → · Contrast checker → · Palette generator →

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