#7E2F2D#7E2F2D

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

Color values

HEX#7E2F2D
RGBrgb(126, 47, 45)
HSLhsl(1, 47%, 34%)
HSVhsv(1, 64%, 49%)
CMYKcmyk(0%, 62.7%, 64.3%, 50.6%)
CIE-LABlab(31.02, 34.12, 19.12)
CIE-LCHlch(31.02, 39.11, 29.26°)
OKLaboklab(41.84% 0.1005 0.0458)
OKLCHoklch(41.84% 0.11 24.5)
XYZxyz(10.0953, 6.6594, 3.2359)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F2D #2D7C7E
analogous
#7E2D53 #7E2F2D #7E572D
triadic
#7E2F2D #2D7E2F #2F2D7E
tetradic
#7E2F2D #537E2D #2D7C7E #572D7E
square
#7E2F2D #537E2D #2D7C7E #572D7E
split-complementary
#7E2F2D #2D7E57 #2D537E
monochromatic
#240D0D #511E1D #7E2F2D #AB403D #C6625F

Accessibility & contrast

On white

9.01
#7E2F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F2D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F2D#FFFFFF#000000##FFFFFF
##7E2F2D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E2C
Deuteranopia (green-blind)
#574F2B
Tritanopia (blue-blind)
#8A1F2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f2d;
/* rgb */ color: rgb(126, 47, 45);
/* oklch */ color: oklch(41.8% 0.110 24.5);
Tailwind
colors: {
  custom: {
    50: '#a96b66',
    500: '#7e2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f2d;
$custom-light: #a96b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f2d",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 1.481,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.11045,
    "h": 24.5
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#7E2F2D
secondary
#5AAAAC
accent
#D4D751
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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