#7E2F1F#7E2F1F

#7E2F1F is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.113 H 33.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7E2F1F
RGBrgb(126, 47, 31)
HSLhsl(10, 61%, 31%)
HSVhsv(10, 75%, 49%)
CMYKcmyk(0%, 62.7%, 75.4%, 50.6%)
CIE-LABlab(30.80, 33.26, 27.54)
CIE-LCHlch(30.80, 43.19, 39.62°)
OKLaboklab(41.61% 0.0949 0.0622)
OKLCHoklch(41.61% 0.113 33.2)
XYZxyz(9.8690, 6.5689, 2.0443)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F1F #1F6E7E
analogous
#7E1F3E #7E2F1F #7E5E1F
triadic
#7E2F1F #1F7E2F #2F1F7E
tetradic
#7E2F1F #3E7E1F #1F6E7E #5E1F7E
square
#7E2F1F #3E7E1F #1F6E7E #5E1F7E
split-complementary
#7E2F1F #1F7E5E #1F3E7E
monochromatic
#1C0A07 #4D1D13 #7E2F1F #AF412B #D15D46

Accessibility & contrast

On white

9.08
#7E2F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F1F
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F1F#FFFFFF#000000##FFFFFF
##7E2F1F1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#8B1D2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f1f;
/* rgb */ color: rgb(126, 47, 31);
/* oklch */ color: oklch(41.6% 0.113 33.2);
Tailwind
colors: {
  custom: {
    50: '#aa6b5b',
    500: '#7e2f1f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f1f;
$custom-light: #aa6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f1f",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 10.105,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41613,
    "c": 0.11347,
    "h": 33.2
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#7E2F1F
secondary
#489FB1
accent
#C9E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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