#7E2C2C#7E2C2C

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

Color values

HEX#7E2C2C
RGBrgb(126, 44, 44)
HSLhsl(0, 48%, 33%)
HSVhsv(0, 65%, 49%)
CMYKcmyk(0%, 65.1%, 65.1%, 50.6%)
CIE-LABlab(30.45, 35.52, 19.03)
CIE-LCHlch(30.45, 40.30, 28.18°)
OKLaboklab(41.41% 0.1047 0.0455)
OKLCHoklch(41.41% 0.114 23.5)
XYZxyz(9.9604, 6.4202, 3.0971)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C2C #2C7E7E
analogous
#7E2C55 #7E2C2C #7E552C
triadic
#7E2C2C #2C7E2C #2C2C7E
tetradic
#7E2C2C #557E2C #2C7E7E #552C7E
square
#7E2C2C #557E2C #2C7E7E #552C7E
split-complementary
#7E2C2C #2C7E55 #2C557E
monochromatic
#230C0C #511C1C #7E2C2C #AB3C3C #C75E5E

Accessibility & contrast

On white

9.20
#7E2C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C2C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C2C#FFFFFF#000000##FFFFFF
##7E2C2C1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2c2c;
/* rgb */ color: rgb(126, 44, 44);
/* oklch */ color: oklch(41.4% 0.114 23.5);
Tailwind
colors: {
  custom: {
    50: '#a96965',
    500: '#7e2c2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c2c;
$custom-light: #a96965;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c2c",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 44
  },
  "hsl": {
    "h": 0,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41409,
    "c": 0.11417,
    "h": 23.5
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#7E2C2C
secondary
#59ADAD
accent
#D8D850
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E2C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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