#7E2D23#7E2D23

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

Color values

HEX#7E2D23
RGBrgb(126, 45, 35)
HSLhsl(7, 57%, 32%)
HSVhsv(7, 72%, 49%)
CMYKcmyk(0%, 64.3%, 72.2%, 50.6%)
CIE-LABlab(30.48, 34.47, 24.75)
CIE-LCHlch(30.48, 42.43, 35.68°)
OKLaboklab(41.39% 0.0995 0.057)
OKLCHoklch(41.39% 0.115 29.8)
XYZxyz(9.8470, 6.4351, 2.3134)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D23 #23747E
analogous
#7E2347 #7E2D23 #7E5B23
triadic
#7E2D23 #237E2D #2D237E
tetradic
#7E2D23 #477E23 #23747E #5B237E
square
#7E2D23 #477E23 #23747E #5B237E
split-complementary
#7E2D23 #237E5B #23477E
monochromatic
#1E0B08 #4E1C16 #7E2D23 #AE3E30 #CE5C4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2D23#FFFFFF#000000##FFFFFF
##7E2D231.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)
#433D22
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#8B1A2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d23;
/* rgb */ color: rgb(126, 45, 35);
/* oklch */ color: oklch(41.4% 0.115 29.8);
Tailwind
colors: {
  custom: {
    50: '#aa6a5e',
    500: '#7e2d23',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d23;
$custom-light: #aa6a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d23",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 35
  },
  "hsl": {
    "h": 6.593,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.11465,
    "h": 29.8
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#7E2D23
secondary
#4CA5B0
accent
#CFE048
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2D23

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

Preview Lab → · Contrast checker → · Palette generator →

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