#7E2D39#7E2D39

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

Color values

HEX#7E2D39
RGBrgb(126, 45, 57)
HSLhsl(351, 47%, 34%)
HSVhsv(351, 64%, 49%)
CMYKcmyk(0%, 64.3%, 54.8%, 50.6%)
CIE-LABlab(30.90, 36.09, 11.18)
CIE-LCHlch(30.90, 37.78, 17.22°)
OKLaboklab(41.84% 0.1087 0.0282)
OKLCHoklch(41.84% 0.112 14.5)
XYZxyz(10.2819, 6.6091, 4.6043)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D39 #2D7E72
analogous
#7E2D61 #7E2D39 #7E492D
triadic
#7E2D39 #397E2D #2D397E
tetradic
#7E2D39 #617E2D #2D7E72 #492D7E
square
#7E2D39 #617E2D #2D7E72 #492D7E
split-complementary
#7E2D39 #2D7E49 #2D617E
monochromatic
#240D10 #511D25 #7E2D39 #AB3D4D #C65F6F

Accessibility & contrast

On white

9.05
#7E2D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E2D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D39
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D39#FFFFFF#000000##FFFFFF
##7E2D391.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403E39
Deuteranopia (green-blind)
#554F37
Tritanopia (blue-blind)
#8A2032
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2d39;
/* rgb */ color: rgb(126, 45, 57);
/* oklch */ color: oklch(41.8% 0.112 14.5);
Tailwind
colors: {
  custom: {
    50: '#a86a6f',
    500: '#7e2d39',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d39;
$custom-light: #a86a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d39",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 57
  },
  "hsl": {
    "h": 351.111,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41835,
    "c": 0.11231,
    "h": 14.5
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#7E2D39
secondary
#5AACA0
accent
#D7C351
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E2D39

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

Preview Lab → · Contrast checker → · Palette generator →

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