#7E2728#7E2728

#7E2728 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.120 H 23.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7E2728
RGBrgb(126, 39, 40)
HSLhsl(359, 53%, 32%)
HSVhsv(359, 69%, 49%)
CMYKcmyk(0%, 69%, 68.3%, 50.6%)
CIE-LABlab(29.52, 37.58, 20.43)
CIE-LCHlch(29.52, 42.77, 28.53°)
OKLaboklab(40.69% 0.1104 0.0482)
OKLCHoklch(40.69% 0.12 23.6)
XYZxyz(9.7137, 6.0412, 2.6617)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2728 #277E7D
analogous
#7E2754 #7E2728 #7E5127
triadic
#7E2728 #287E27 #27287E
tetradic
#7E2728 #547E27 #277E7D #51277E
square
#7E2728 #547E27 #277E7D #51277E
split-complementary
#7E2728 #277E51 #27547E
monochromatic
#210A0A #4F1919 #7E2728 #AD3537 #CA5556

Accessibility & contrast

On white

9.51
#7E2728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E2728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2728
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2728#FFFFFF#000000##FFFFFF
##7E27281.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A27
Deuteranopia (green-blind)
#544C26
Tritanopia (blue-blind)
#8B1128
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2728;
/* rgb */ color: rgb(126, 39, 40);
/* oklch */ color: oklch(40.7% 0.120 23.6);
Tailwind
colors: {
  custom: {
    50: '#a96762',
    500: '#7e2728',
    950: '#000000',
  },
}
SCSS
$custom: #7e2728;
$custom-light: #a96762;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2728",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.31,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.12043,
    "h": 23.6
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#7E2728
secondary
#52AFAE
accent
#DCDA4C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2728

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

Preview Lab → · Contrast checker → · Palette generator →

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