#7E2F40#7E2F40

#7E2F40 is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.3% C 0.110 H 9.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7E2F40
RGBrgb(126, 47, 64)
HSLhsl(347, 46%, 34%)
HSVhsv(347, 63%, 49%)
CMYKcmyk(0%, 62.7%, 49.2%, 50.6%)
CIE-LABlab(31.44, 35.79, 7.35)
CIE-LCHlch(31.44, 36.53, 11.61°)
OKLaboklab(42.3% 0.1086 0.019)
OKLCHoklch(42.3% 0.11 9.9)
XYZxyz(10.5469, 6.8401, 5.6143)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F40 #2F7E6D
analogous
#7E2F68 #7E2F40 #7E462F
triadic
#7E2F40 #407E2F #2F407E
tetradic
#7E2F40 #687E2F #2F7E6D #462F7E
square
#7E2F40 #687E2F #2F7E6D #462F7E
split-complementary
#7E2F40 #2F7E46 #2F687E
monochromatic
#250E13 #511E29 #7E2F40 #AB4057 #C56378

Accessibility & contrast

On white

8.87
#7E2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E2F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F40
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F40#FFFFFF#000000##FFFFFF
##7E2F401.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#54503E
Tritanopia (blue-blind)
#892435
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2f40;
/* rgb */ color: rgb(126, 47, 64);
/* oklch */ color: oklch(42.3% 0.110 9.9);
Tailwind
colors: {
  custom: {
    50: '#a76c74',
    500: '#7e2f40',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f40;
$custom-light: #a76c74;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f40",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 347.089,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.11023,
    "h": 9.9
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#7E2F40
secondary
#5DAC9B
accent
#D5B952
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7E2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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