#7E2935#7E2935

#7E2935 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.117 H 15.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7E2935
RGBrgb(126, 41, 53)
HSLhsl(352, 51%, 33%)
HSVhsv(352, 67%, 49%)
CMYKcmyk(0%, 67.5%, 57.9%, 50.6%)
CIE-LABlab(30.11, 37.62, 12.73)
CIE-LCHlch(30.11, 39.72, 18.69°)
OKLaboklab(41.21% 0.113 0.0317)
OKLCHoklch(41.21% 0.117 15.6)
XYZxyz(10.0406, 6.2799, 4.0509)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2935 #297E72
analogous
#7E2960 #7E2935 #7E4729
triadic
#7E2935 #357E29 #29357E
tetradic
#7E2935 #607E29 #297E72 #47297E
square
#7E2935 #607E29 #297E72 #47297E
split-complementary
#7E2935 #297E47 #29607E
monochromatic
#220B0E #501A22 #7E2935 #AC3848 #C95968

Accessibility & contrast

On white

9.31
#7E2935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E2935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2935
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2935#FFFFFF#000000##FFFFFF
##7E29351.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C35
Deuteranopia (green-blind)
#544D33
Tritanopia (blue-blind)
#8A192E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2935;
/* rgb */ color: rgb(126, 41, 53);
/* oklch */ color: oklch(41.2% 0.117 15.6);
Tailwind
colors: {
  custom: {
    50: '#a8686c',
    500: '#7e2935',
    950: '#000000',
  },
}
SCSS
$custom: #7e2935;
$custom-light: #a8686c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2935",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 53
  },
  "hsl": {
    "h": 351.529,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41212,
    "c": 0.11734,
    "h": 15.6
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#7E2935
secondary
#55AEA2
accent
#DAC64D
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2935

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

Preview Lab → · Contrast checker → · Palette generator →

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