#7E2928#7E2928

#7E2928 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.118 H 24.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7E2928
RGBrgb(126, 41, 40)
HSLhsl(1, 52%, 33%)
HSVhsv(1, 68%, 49%)
CMYKcmyk(0%, 67.5%, 68.3%, 50.6%)
CIE-LABlab(29.85, 36.67, 20.85)
CIE-LCHlch(29.85, 42.18, 29.62°)
OKLaboklab(40.94% 0.1075 0.0491)
OKLCHoklch(40.94% 0.118 24.6)
XYZxyz(9.7811, 6.1761, 2.6841)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2928 #287D7E
analogous
#7E2852 #7E2928 #7E5428
triadic
#7E2928 #287E29 #29287E
tetradic
#7E2928 #527E28 #287D7E #54287E
square
#7E2928 #527E28 #287D7E #54287E
split-complementary
#7E2928 #287E54 #28527E
monochromatic
#210B0B #501A19 #7E2928 #AC3837 #CA5857

Accessibility & contrast

On white

9.40
#7E2928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2928
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2928#FFFFFF#000000##FFFFFF
##7E29281.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B27
Deuteranopia (green-blind)
#554D26
Tritanopia (blue-blind)
#8B152A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2928;
/* rgb */ color: rgb(126, 41, 40);
/* oklch */ color: oklch(40.9% 0.118 24.6);
Tailwind
colors: {
  custom: {
    50: '#a96862',
    500: '#7e2928',
    950: '#000000',
  },
}
SCSS
$custom: #7e2928;
$custom-light: #a96862;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2928",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 40
  },
  "hsl": {
    "h": 0.698,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40938,
    "c": 0.11819,
    "h": 24.6
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#7E2928
secondary
#53AEAF
accent
#DADB4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2928

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

Preview Lab → · Contrast checker → · Palette generator →

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