#7E2F38#7E2F38

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

Color values

HEX#7E2F38
RGBrgb(126, 47, 56)
HSLhsl(353, 46%, 34%)
HSVhsv(353, 63%, 49%)
CMYKcmyk(0%, 62.7%, 55.6%, 50.6%)
CIE-LABlab(31.24, 35.02, 12.30)
CIE-LCHlch(31.24, 37.12, 19.36°)
OKLaboklab(42.09% 0.1052 0.0308)
OKLCHoklch(42.09% 0.11 16.3)
XYZxyz(10.3354, 6.7555, 4.5003)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F38 #2F7E75
analogous
#7E2F60 #7E2F38 #7E4E2F
triadic
#7E2F38 #387E2F #2F387E
tetradic
#7E2F38 #607E2F #2F7E75 #4E2F7E
square
#7E2F38 #607E2F #2F7E75 #4E2F7E
split-complementary
#7E2F38 #2F7E4E #2F607E
monochromatic
#250E10 #511E24 #7E2F38 #AB404C #C5636E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2F38#FFFFFF#000000##FFFFFF
##7E2F381.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)
#413F38
Deuteranopia (green-blind)
#565036
Tritanopia (blue-blind)
#8A2233
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f38;
/* rgb */ color: rgb(126, 47, 56);
/* oklch */ color: oklch(42.1% 0.110 16.3);
Tailwind
colors: {
  custom: {
    50: '#a86b6e',
    500: '#7e2f38',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f38;
$custom-light: #a86b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f38",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 56
  },
  "hsl": {
    "h": 353.165,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.1096,
    "h": 16.3
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#7E2F38
secondary
#5DACA3
accent
#D5C652
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E2F38

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

Preview Lab → · Contrast checker → · Palette generator →

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