#7E2C31#7E2C31

#7E2C31 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.114 H 20.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7E2C31
RGBrgb(126, 44, 49)
HSLhsl(356, 48%, 33%)
HSVhsv(356, 65%, 49%)
CMYKcmyk(0%, 65.1%, 61.1%, 50.6%)
CIE-LABlab(30.54, 35.89, 15.93)
CIE-LCHlch(30.54, 39.27, 23.93°)
OKLaboklab(41.51% 0.1068 0.0389)
OKLCHoklch(41.51% 0.114 20)
XYZxyz(10.0602, 6.4601, 3.6223)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C31 #2C7E79
analogous
#7E2C5A #7E2C31 #7E502C
triadic
#7E2C31 #317E2C #2C317E
tetradic
#7E2C31 #5A7E2C #2C7E79 #502C7E
square
#7E2C31 #5A7E2C #2C7E79 #502C7E
split-complementary
#7E2C31 #2C7E50 #2C5A7E
monochromatic
#230C0E #511C1F #7E2C31 #AB3C43 #C75E64

Accessibility & contrast

On white

9.16
#7E2C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C31
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C31#FFFFFF#000000##FFFFFF
##7E2C311.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D31
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#8A1C2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2c31;
/* rgb */ color: rgb(126, 44, 49);
/* oklch */ color: oklch(41.5% 0.114 20.0);
Tailwind
colors: {
  custom: {
    50: '#a96969',
    500: '#7e2c31',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c31;
$custom-light: #a96969;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c31",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 49
  },
  "hsl": {
    "h": 356.341,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41512,
    "c": 0.11368,
    "h": 20
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#7E2C31
secondary
#59ADA8
accent
#D8D050
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E2C31

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

Preview Lab → · Contrast checker → · Palette generator →

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