#7E2C2F#7E2C2F

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

Color values

HEX#7E2C2F
RGBrgb(126, 44, 47)
HSLhsl(358, 48%, 33%)
HSVhsv(358, 65%, 49%)
CMYKcmyk(0%, 65.1%, 62.7%, 50.6%)
CIE-LABlab(30.50, 35.74, 17.17)
CIE-LCHlch(30.50, 39.65, 25.66°)
OKLaboklab(41.47% 0.106 0.0416)
OKLCHoklch(41.47% 0.114 21.4)
XYZxyz(10.0189, 6.4435, 3.4049)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C2F #2C7E7B
analogous
#7E2C58 #7E2C2F #7E522C
triadic
#7E2C2F #2F7E2C #2C2F7E
tetradic
#7E2C2F #587E2C #2C7E7B #522C7E
square
#7E2C2F #587E2C #2C7E7B #522C7E
split-complementary
#7E2C2F #2C7E52 #2C587E
monochromatic
#230C0D #511C1E #7E2C2F #AB3C40 #C75E62

Accessibility & contrast

On white

9.18
#7E2C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2C2F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C2F#FFFFFF#000000##FFFFFF
##7E2C2F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2F
Deuteranopia (green-blind)
#554E2D
Tritanopia (blue-blind)
#8A1B2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2c2f;
/* rgb */ color: rgb(126, 44, 47);
/* oklch */ color: oklch(41.5% 0.114 21.4);
Tailwind
colors: {
  custom: {
    50: '#a96967',
    500: '#7e2c2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c2f;
$custom-light: #a96967;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c2f",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 47
  },
  "hsl": {
    "h": 357.805,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.11383,
    "h": 21.4
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#7E2C2F
secondary
#59ADAA
accent
#D8D350
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E2C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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