#7E2D3F#7E2D3F

#7E2D3F is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.113 H 9.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7E2D3F
RGBrgb(126, 45, 63)
HSLhsl(347, 47%, 34%)
HSVhsv(347, 64%, 49%)
CMYKcmyk(0%, 64.3%, 50%, 50.6%)
CIE-LABlab(31.05, 36.66, 7.46)
CIE-LCHlch(31.05, 37.41, 11.50°)
OKLaboklab(42% 0.1112 0.0193)
OKLCHoklch(42% 0.113 9.8)
XYZxyz(10.4406, 6.6725, 5.4398)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D3F #2D7E6C
analogous
#7E2D67 #7E2D3F #7E432D
triadic
#7E2D3F #3F7E2D #2D3F7E
tetradic
#7E2D3F #677E2D #2D7E6C #432D7E
square
#7E2D3F #677E2D #2D7E6C #432D7E
split-complementary
#7E2D3F #2D7E43 #2D677E
monochromatic
#240D12 #511D28 #7E2D3F #AB3D56 #C65F76

Accessibility & contrast

On white

9.00
#7E2D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D3F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D3F#FFFFFF#000000##FFFFFF
##7E2D3F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F3F
Deuteranopia (green-blind)
#544F3D
Tritanopia (blue-blind)
#892134
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2d3f;
/* rgb */ color: rgb(126, 45, 63);
/* oklch */ color: oklch(42.0% 0.113 9.8);
Tailwind
colors: {
  custom: {
    50: '#a86a73',
    500: '#7e2d3f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d3f;
$custom-light: #a86a73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d3f",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 63
  },
  "hsl": {
    "h": 346.667,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41996,
    "c": 0.11289,
    "h": 9.8
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#7E2D3F
secondary
#5AAC9A
accent
#D7B951
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7E2D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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