#7E2F32#7E2F32

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

Color values

HEX#7E2F32
RGBrgb(126, 47, 50)
HSLhsl(358, 46%, 34%)
HSVhsv(358, 63%, 49%)
CMYKcmyk(0%, 62.7%, 60.3%, 50.6%)
CIE-LABlab(31.11, 34.51, 16.03)
CIE-LCHlch(31.11, 38.05, 24.91°)
OKLaboklab(41.95% 0.1026 0.0392)
OKLCHoklch(41.95% 0.11 20.9)
XYZxyz(10.1973, 6.7002, 3.7733)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F32 #2F7E7B
analogous
#7E2F5A #7E2F32 #7E542F
triadic
#7E2F32 #327E2F #2F327E
tetradic
#7E2F32 #5A7E2F #2F7E7B #542F7E
square
#7E2F32 #5A7E2F #2F7E7B #542F7E
split-complementary
#7E2F32 #2F7E54 #2F5A7E
monochromatic
#250E0F #511E20 #7E2F32 #AB4044 #C56366

Accessibility & contrast

On white

8.98
#7E2F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E2F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F32
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F32#FFFFFF#000000##FFFFFF
##7E2F321.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F32
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#8A2031
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f32;
/* rgb */ color: rgb(126, 47, 50);
/* oklch */ color: oklch(41.9% 0.110 20.9);
Tailwind
colors: {
  custom: {
    50: '#a86b69',
    500: '#7e2f32',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f32;
$custom-light: #a86b69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f32",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 50
  },
  "hsl": {
    "h": 357.722,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.10985,
    "h": 20.9
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#7E2F32
secondary
#5DACA9
accent
#D5D052
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7E2F32

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

Preview Lab → · Contrast checker → · Palette generator →

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