#7E2F35#7E2F35

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

Color values

HEX#7E2F35
RGBrgb(126, 47, 53)
HSLhsl(355, 46%, 34%)
HSVhsv(355, 63%, 49%)
CMYKcmyk(0%, 62.7%, 57.9%, 50.6%)
CIE-LABlab(31.18, 34.75, 14.17)
CIE-LCHlch(31.18, 37.53, 22.18°)
OKLaboklab(42.01% 0.1039 0.035)
OKLCHoklch(42.01% 0.11 18.6)
XYZxyz(10.2642, 6.7270, 4.1254)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F35 #2F7E78
analogous
#7E2F5D #7E2F35 #7E512F
triadic
#7E2F35 #357E2F #2F357E
tetradic
#7E2F35 #5D7E2F #2F7E78 #512F7E
square
#7E2F35 #5D7E2F #2F7E78 #512F7E
split-complementary
#7E2F35 #2F7E51 #2F5D7E
monochromatic
#250E10 #511E22 #7E2F35 #AB4048 #C5636A

Accessibility & contrast

On white

8.95
#7E2F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F35
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F35#FFFFFF#000000##FFFFFF
##7E2F351.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F35
Deuteranopia (green-blind)
#565033
Tritanopia (blue-blind)
#8A2132
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f35;
/* rgb */ color: rgb(126, 47, 53);
/* oklch */ color: oklch(42.0% 0.110 18.6);
Tailwind
colors: {
  custom: {
    50: '#a86b6c',
    500: '#7e2f35',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f35;
$custom-light: #a86b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f35",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 53
  },
  "hsl": {
    "h": 355.443,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.10966,
    "h": 18.6
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#7E2F35
secondary
#5DACA6
accent
#D5CB52
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7E2F35

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

Preview Lab → · Contrast checker → · Palette generator →

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