#7E2730#7E2730

#7E2730 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.8% C 0.120 H 18.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7E2730
RGBrgb(126, 39, 48)
HSLhsl(354, 53%, 32%)
HSVhsv(354, 69%, 49%)
CMYKcmyk(0%, 69%, 61.9%, 50.6%)
CIE-LABlab(29.67, 38.13, 15.42)
CIE-LCHlch(29.67, 41.13, 22.02°)
OKLaboklab(40.85% 0.1137 0.0377)
OKLCHoklch(40.85% 0.12 18.3)
XYZxyz(9.8641, 6.1014, 3.4540)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2730 #277E75
analogous
#7E275C #7E2730 #7E4A27
triadic
#7E2730 #307E27 #27307E
tetradic
#7E2730 #5C7E27 #277E75 #4A277E
square
#7E2730 #5C7E27 #277E75 #4A277E
split-complementary
#7E2730 #277E4A #275C7E
monochromatic
#210A0C #4F191E #7E2730 #AD3542 #CA5561

Accessibility & contrast

On white

9.46
#7E2730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E2730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2730
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2730#FFFFFF#000000##FFFFFF
##7E27301.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A30
Deuteranopia (green-blind)
#534D2E
Tritanopia (blue-blind)
#8A142B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2730;
/* rgb */ color: rgb(126, 39, 48);
/* oklch */ color: oklch(40.8% 0.120 18.3);
Tailwind
colors: {
  custom: {
    50: '#a96768',
    500: '#7e2730',
    950: '#000000',
  },
}
SCSS
$custom: #7e2730;
$custom-light: #a96768;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2730",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 48
  },
  "hsl": {
    "h": 353.793,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40848,
    "c": 0.1198,
    "h": 18.3
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#7E2730
secondary
#52AFA5
accent
#DCCD4C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2730

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

Preview Lab → · Contrast checker → · Palette generator →

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