#7E2C2D#7E2C2D

#7E2C2D is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.114 H 22.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7E2C2D
RGBrgb(126, 44, 45)
HSLhsl(359, 48%, 33%)
HSVhsv(359, 65%, 49%)
CMYKcmyk(0%, 65.1%, 64.3%, 50.6%)
CIE-LABlab(30.47, 35.59, 18.41)
CIE-LCHlch(30.47, 40.07, 27.35°)
OKLaboklab(41.43% 0.1051 0.0442)
OKLCHoklch(41.43% 0.114 22.8)
XYZxyz(9.9795, 6.4278, 3.1973)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C2D #2C7E7D
analogous
#7E2C56 #7E2C2D #7E542C
triadic
#7E2C2D #2D7E2C #2C2D7E
tetradic
#7E2C2D #567E2C #2C7E7D #542C7E
square
#7E2C2D #567E2C #2C7E7D #542C7E
split-complementary
#7E2C2D #2C7E54 #2C567E
monochromatic
#230C0D #511C1D #7E2C2D #AB3C3D #C75E5F

Accessibility & contrast

On white

9.19
#7E2C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2C2D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C2D#FFFFFF#000000##FFFFFF
##7E2C2D1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2C
Deuteranopia (green-blind)
#564E2B
Tritanopia (blue-blind)
#8A1B2D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2c2d;
/* rgb */ color: rgb(126, 44, 45);
/* oklch */ color: oklch(41.4% 0.114 22.8);
Tailwind
colors: {
  custom: {
    50: '#a96965',
    500: '#7e2c2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c2d;
$custom-light: #a96965;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c2d",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 45
  },
  "hsl": {
    "h": 359.268,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.11404,
    "h": 22.8
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#7E2C2D
secondary
#59ADAC
accent
#D8D650
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E2C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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