#7E2A35#7E2A35

#7E2A35 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.3% C 0.116 H 16.1°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7E2A35
RGBrgb(126, 42, 53)
HSLhsl(352, 50%, 33%)
HSVhsv(352, 67%, 49%)
CMYKcmyk(0%, 66.7%, 57.9%, 50.6%)
CIE-LABlab(30.28, 37.16, 12.96)
CIE-LCHlch(30.28, 39.35, 19.23°)
OKLaboklab(41.34% 0.1115 0.0322)
OKLCHoklch(41.34% 0.116 16.1)
XYZxyz(10.0757, 6.3499, 4.0626)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A35 #2A7E73
analogous
#7E2A5F #7E2A35 #7E492A
triadic
#7E2A35 #357E2A #2A357E
tetradic
#7E2A35 #5F7E2A #2A7E73 #492A7E
square
#7E2A35 #5F7E2A #2A7E73 #492A7E
split-complementary
#7E2A35 #2A7E49 #2A5F7E
monochromatic
#220B0E #501B22 #7E2A35 #AC3948 #C85A69

Accessibility & contrast

On white

9.25
#7E2A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A35
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A35#FFFFFF#000000##FFFFFF
##7E2A351.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2a35;
/* rgb */ color: rgb(126, 42, 53);
/* oklch */ color: oklch(41.3% 0.116 16.1);
Tailwind
colors: {
  custom: {
    50: '#a8686c',
    500: '#7e2a35',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a35;
$custom-light: #a8686c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a35",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 53
  },
  "hsl": {
    "h": 352.143,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.11609,
    "h": 16.1
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#7E2A35
secondary
#56AEA2
accent
#DAC74E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2A35

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

Preview Lab → · Contrast checker → · Palette generator →

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