#7E2E40#7E2E40

#7E2E40 is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.2% C 0.112 H 9.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7E2E40
RGBrgb(126, 46, 64)
HSLhsl(347, 47%, 34%)
HSVhsv(347, 63%, 49%)
CMYKcmyk(0%, 63.5%, 49.2%, 50.6%)
CIE-LABlab(31.26, 36.28, 7.09)
CIE-LCHlch(31.26, 36.96, 11.06°)
OKLaboklab(42.16% 0.1101 0.0184)
OKLCHoklch(42.16% 0.112 9.5)
XYZxyz(10.5074, 6.7610, 5.6012)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E40 #2E7E6C
analogous
#7E2E68 #7E2E40 #7E442E
triadic
#7E2E40 #407E2E #2E407E
tetradic
#7E2E40 #687E2E #2E7E6C #442E7E
square
#7E2E40 #687E2E #2E7E6C #442E7E
split-complementary
#7E2E40 #2E7E44 #2E687E
monochromatic
#240D12 #511E29 #7E2E40 #AB3E57 #C56178

Accessibility & contrast

On white

8.93
#7E2E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E2E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E40
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E40#FFFFFF#000000##FFFFFF
##7E2E401.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#54503E
Tritanopia (blue-blind)
#892335
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2e40;
/* rgb */ color: rgb(126, 46, 64);
/* oklch */ color: oklch(42.2% 0.112 9.5);
Tailwind
colors: {
  custom: {
    50: '#a76b74',
    500: '#7e2e40',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e40;
$custom-light: #a76b74;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e40",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 346.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.11165,
    "h": 9.5
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#7E2E40
secondary
#5CAC9A
accent
#D6B852
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7E2E40

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

Preview Lab → · Contrast checker → · Palette generator →

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