#7E2F2F#7E2F2F

#7E2F2F is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.110 H 23.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7E2F2F
RGBrgb(126, 47, 47)
HSLhsl(0, 46%, 34%)
HSVhsv(0, 63%, 49%)
CMYKcmyk(0%, 62.7%, 62.7%, 50.6%)
CIE-LABlab(31.06, 34.27, 17.88)
CIE-LCHlch(31.06, 38.66, 27.56°)
OKLaboklab(41.88% 0.1013 0.0432)
OKLCHoklch(41.88% 0.11 23.1)
XYZxyz(10.1347, 6.6752, 3.4435)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F2F #2F7E7E
analogous
#7E2F57 #7E2F2F #7E572F
triadic
#7E2F2F #2F7E2F #2F2F7E
tetradic
#7E2F2F #577E2F #2F7E7E #572F7E
square
#7E2F2F #577E2F #2F7E7E #572F7E
split-complementary
#7E2F2F #2F7E57 #2F577E
monochromatic
#250E0E #511E1E #7E2F2F #AB4040 #C56363

Accessibility & contrast

On white

8.99
#7E2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F2F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F2F#FFFFFF#000000##FFFFFF
##7E2F2F1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F2E
Deuteranopia (green-blind)
#574F2D
Tritanopia (blue-blind)
#8A2030
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f2f;
/* rgb */ color: rgb(126, 47, 47);
/* oklch */ color: oklch(41.9% 0.110 23.1);
Tailwind
colors: {
  custom: {
    50: '#a96b67',
    500: '#7e2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f2f;
$custom-light: #a96b67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f2f",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41883,
    "c": 0.11016,
    "h": 23.1
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#7E2F2F
secondary
#5DACAC
accent
#D5D552
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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