#7E2B34#7E2B34

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

Color values

HEX#7E2B34
RGBrgb(126, 43, 52)
HSLhsl(353, 49%, 33%)
HSVhsv(353, 66%, 49%)
CMYKcmyk(0%, 65.9%, 58.7%, 50.6%)
CIE-LABlab(30.43, 36.61, 13.82)
CIE-LCHlch(30.43, 39.13, 20.68°)
OKLaboklab(41.45% 0.1096 0.0342)
OKLCHoklch(41.45% 0.115 17.3)
XYZxyz(10.0888, 6.4126, 3.9546)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B34 #2B7E75
analogous
#7E2B5D #7E2B34 #7E4B2B
triadic
#7E2B34 #347E2B #2B347E
tetradic
#7E2B34 #5D7E2B #2B7E75 #4B2B7E
square
#7E2B34 #5D7E2B #2B7E75 #4B2B7E
split-complementary
#7E2B34 #2B7E4B #2B5D7E
monochromatic
#230C0E #501B21 #7E2B34 #AC3B47 #C75C68

Accessibility & contrast

On white

9.20
#7E2B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2B34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B34
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B34#FFFFFF#000000##FFFFFF
##7E2B341.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D34
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#8A1B2F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2b34;
/* rgb */ color: rgb(126, 43, 52);
/* oklch */ color: oklch(41.4% 0.115 17.3);
Tailwind
colors: {
  custom: {
    50: '#a8696b',
    500: '#7e2b34',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b34;
$custom-light: #a8696b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b34",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 52
  },
  "hsl": {
    "h": 353.494,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.11481,
    "h": 17.3
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#7E2B34
secondary
#58ADA4
accent
#D9CA4F
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2B34

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

Preview Lab → · Contrast checker → · Palette generator →

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