#7E2E23#7E2E23

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

Color values

HEX#7E2E23
RGBrgb(126, 46, 35)
HSLhsl(7, 57%, 32%)
HSVhsv(7, 72%, 49%)
CMYKcmyk(0%, 63.5%, 72.2%, 50.6%)
CIE-LABlab(30.67, 33.98, 24.97)
CIE-LCHlch(30.67, 42.16, 36.31°)
OKLaboklab(41.53% 0.098 0.0574)
OKLCHoklch(41.53% 0.114 30.4)
XYZxyz(9.8856, 6.5123, 2.3262)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E23 #23737E
analogous
#7E2346 #7E2E23 #7E5C23
triadic
#7E2E23 #237E2E #2E237E
tetradic
#7E2E23 #467E23 #23737E #5C237E
square
#7E2E23 #467E23 #23737E #5C237E
split-complementary
#7E2E23 #237E5C #23467E
monochromatic
#1E0B08 #4E1D16 #7E2E23 #AE3F30 #CE5D4E

Accessibility & contrast

On white

9.12
#7E2E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2E23
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E23#FFFFFF#000000##FFFFFF
##7E2E231.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D21
Deuteranopia (green-blind)
#574F21
Tritanopia (blue-blind)
#8B1C2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e23;
/* rgb */ color: rgb(126, 46, 35);
/* oklch */ color: oklch(41.5% 0.114 30.4);
Tailwind
colors: {
  custom: {
    50: '#a96a5e',
    500: '#7e2e23',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e23;
$custom-light: #a96a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e23",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 35
  },
  "hsl": {
    "h": 7.253,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.11355,
    "h": 30.4
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#7E2E23
secondary
#4CA4B0
accent
#CDE048
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2E23

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

Preview Lab → · Contrast checker → · Palette generator →

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