#7E2D2D#7E2D2D

#7E2D2D is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.113 H 23.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7E2D2D
RGBrgb(126, 45, 45)
HSLhsl(0, 47%, 34%)
HSVhsv(0, 64%, 49%)
CMYKcmyk(0%, 64.3%, 64.3%, 50.6%)
CIE-LABlab(30.65, 35.11, 18.64)
CIE-LCHlch(30.65, 39.75, 27.97°)
OKLaboklab(41.56% 0.1036 0.0448)
OKLCHoklch(41.56% 0.113 23.4)
XYZxyz(10.0172, 6.5032, 3.2099)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D2D #2D7E7E
analogous
#7E2D55 #7E2D2D #7E552D
triadic
#7E2D2D #2D7E2D #2D2D7E
tetradic
#7E2D2D #557E2D #2D7E7E #552D7E
square
#7E2D2D #557E2D #2D7E7E #552D7E
split-complementary
#7E2D2D #2D7E55 #2D557E
monochromatic
#240D0D #511D1D #7E2D2D #AB3D3D #C65F5F

Accessibility & contrast

On white

9.13
#7E2D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E2D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D2D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D2D#FFFFFF#000000##FFFFFF
##7E2D2D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D2C
Deuteranopia (green-blind)
#564F2B
Tritanopia (blue-blind)
#8A1C2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d2d;
/* rgb */ color: rgb(126, 45, 45);
/* oklch */ color: oklch(41.6% 0.113 23.4);
Tailwind
colors: {
  custom: {
    50: '#a96a66',
    500: '#7e2d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d2d;
$custom-light: #a96a66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d2d",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 0,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41564,
    "c": 0.11285,
    "h": 23.4
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#7E2D2D
secondary
#5AACAC
accent
#D7D751
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E2D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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