#7E2F29#7E2F29

#7E2F29 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.8% C 0.111 H 27.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7E2F29
RGBrgb(126, 47, 41)
HSLhsl(4, 51%, 33%)
HSVhsv(4, 67%, 49%)
CMYKcmyk(0%, 62.7%, 67.5%, 50.6%)
CIE-LABlab(30.95, 33.85, 21.57)
CIE-LCHlch(30.95, 40.13, 32.51°)
OKLaboklab(41.77% 0.0988 0.0509)
OKLCHoklch(41.77% 0.111 27.2)
XYZxyz(10.0219, 6.6301, 2.8494)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F29 #29787E
analogous
#7E294E #7E2F29 #7E5929
triadic
#7E2F29 #297E2F #2F297E
tetradic
#7E2F29 #4E7E29 #29787E #59297E
square
#7E2F29 #4E7E29 #29787E #59297E
split-complementary
#7E2F29 #297E59 #294E7E
monochromatic
#220D0B #501E1A #7E2F29 #AC4038 #C96059

Accessibility & contrast

On white

9.03
#7E2F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E2F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F29
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F29#FFFFFF#000000##FFFFFF
##7E2F291.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E28
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#8A1F2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f29;
/* rgb */ color: rgb(126, 47, 41);
/* oklch */ color: oklch(41.8% 0.111 27.2);
Tailwind
colors: {
  custom: {
    50: '#a96b63',
    500: '#7e2f29',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f29;
$custom-light: #a96b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f29",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 41
  },
  "hsl": {
    "h": 4.235,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41769,
    "c": 0.11114,
    "h": 27.2
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#7E2F29
secondary
#55A8AE
accent
#D0DA4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2F29

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

Preview Lab → · Contrast checker → · Palette generator →

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