#7E2B3A#7E2B3A

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

Color values

HEX#7E2B3A
RGBrgb(126, 43, 58)
HSLhsl(349, 49%, 33%)
HSVhsv(349, 66%, 49%)
CMYKcmyk(0%, 65.9%, 54%, 50.6%)
CIE-LABlab(30.57, 37.13, 10.07)
CIE-LCHlch(30.57, 38.47, 15.18°)
OKLaboklab(41.6% 0.1122 0.0255)
OKLCHoklch(41.6% 0.115 12.8)
XYZxyz(10.2326, 6.4702, 4.7122)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B3A #2B7E6F
analogous
#7E2B63 #7E2B3A #7E462B
triadic
#7E2B3A #3A7E2B #2B3A7E
tetradic
#7E2B3A #637E2B #2B7E6F #462B7E
square
#7E2B3A #637E2B #2B7E6F #462B7E
split-complementary
#7E2B3A #2B7E46 #2B637E
monochromatic
#230C10 #501B25 #7E2B3A #AC3B4F #C75C6F

Accessibility & contrast

On white

9.16
#7E2B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B3A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B3A#FFFFFF#000000##FFFFFF
##7E2B3A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3D3A
Deuteranopia (green-blind)
#544E38
Tritanopia (blue-blind)
#8A1D31
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2b3a;
/* rgb */ color: rgb(126, 43, 58);
/* oklch */ color: oklch(41.6% 0.115 12.8);
Tailwind
colors: {
  custom: {
    50: '#a86970',
    500: '#7e2b3a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b3a;
$custom-light: #a86970;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b3a",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 58
  },
  "hsl": {
    "h": 349.157,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41595,
    "c": 0.11503,
    "h": 12.8
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#7E2B3A
secondary
#58AD9E
accent
#D9C04F
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E2B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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