#7E2F37#7E2F37

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

Color values

HEX#7E2F37
RGBrgb(126, 47, 55)
HSLhsl(354, 46%, 34%)
HSVhsv(354, 63%, 49%)
CMYKcmyk(0%, 62.7%, 56.3%, 50.6%)
CIE-LABlab(31.22, 34.93, 12.93)
CIE-LCHlch(31.22, 37.24, 20.31°)
OKLaboklab(42.06% 0.1048 0.0322)
OKLCHoklch(42.06% 0.11 17.1)
XYZxyz(10.3112, 6.7458, 4.3728)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F37 #2F7E76
analogous
#7E2F5F #7E2F37 #7E4F2F
triadic
#7E2F37 #377E2F #2F377E
tetradic
#7E2F37 #5F7E2F #2F7E76 #4F2F7E
square
#7E2F37 #5F7E2F #2F7E76 #4F2F7E
split-complementary
#7E2F37 #2F7E4F #2F5F7E
monochromatic
#250E10 #511E24 #7E2F37 #AB404A #C5636D

Accessibility & contrast

On white

8.94
#7E2F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F37
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F37#FFFFFF#000000##FFFFFF
##7E2F371.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F37
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#8A2232
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f37;
/* rgb */ color: rgb(126, 47, 55);
/* oklch */ color: oklch(42.1% 0.110 17.1);
Tailwind
colors: {
  custom: {
    50: '#a86b6d',
    500: '#7e2f37',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f37;
$custom-light: #a86b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f37",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 55
  },
  "hsl": {
    "h": 353.924,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42061,
    "c": 0.1096,
    "h": 17.1
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#7E2F37
secondary
#5DACA4
accent
#D5C852
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E2F37

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

Preview Lab → · Contrast checker → · Palette generator →

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