#7E2A37#7E2A37

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

Color values

HEX#7E2A37
RGBrgb(126, 42, 55)
HSLhsl(351, 50%, 33%)
HSVhsv(351, 67%, 49%)
CMYKcmyk(0%, 66.7%, 56.3%, 50.6%)
CIE-LABlab(30.32, 37.33, 11.71)
CIE-LCHlch(30.32, 39.12, 17.41°)
OKLaboklab(41.39% 0.1124 0.0293)
OKLCHoklch(41.39% 0.116 14.6)
XYZxyz(10.1226, 6.3687, 4.3099)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A37 #2A7E71
analogous
#7E2A61 #7E2A37 #7E472A
triadic
#7E2A37 #377E2A #2A377E
tetradic
#7E2A37 #617E2A #2A7E71 #472A7E
square
#7E2A37 #617E2A #2A7E71 #472A7E
split-complementary
#7E2A37 #2A7E47 #2A617E
monochromatic
#220B0F #501B23 #7E2A37 #AC394B #C85A6B

Accessibility & contrast

On white

9.24
#7E2A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E2A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A37
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A37#FFFFFF#000000##FFFFFF
##7E2A371.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C37
Deuteranopia (green-blind)
#544E35
Tritanopia (blue-blind)
#8A1B2F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a37;
/* rgb */ color: rgb(126, 42, 55);
/* oklch */ color: oklch(41.4% 0.116 14.6);
Tailwind
colors: {
  custom: {
    50: '#a8696d',
    500: '#7e2a37',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a37;
$custom-light: #a8696d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a37",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 55
  },
  "hsl": {
    "h": 350.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.11614,
    "h": 14.6
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#7E2A37
secondary
#56AEA0
accent
#DAC44E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E2A37

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

Preview Lab → · Contrast checker → · Palette generator →

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