#7E2736#7E2736

#7E2736 is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.0% C 0.120 H 14.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7E2736
RGBrgb(126, 39, 54)
HSLhsl(350, 53%, 32%)
HSVhsv(350, 69%, 49%)
CMYKcmyk(0%, 69%, 57.1%, 50.6%)
CIE-LABlab(29.80, 38.61, 11.65)
CIE-LCHlch(29.80, 40.33, 16.79°)
OKLaboklab(40.99% 0.1163 0.0291)
OKLCHoklch(40.99% 0.12 14.1)
XYZxyz(9.9965, 6.1543, 4.1508)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2736 #277E6F
analogous
#7E2762 #7E2736 #7E4327
triadic
#7E2736 #367E27 #27367E
tetradic
#7E2736 #627E27 #277E6F #43277E
square
#7E2736 #627E27 #277E6F #43277E
split-complementary
#7E2736 #277E43 #27627E
monochromatic
#210A0E #4F1922 #7E2736 #AD354A #CA5569

Accessibility & contrast

On white

9.41
#7E2736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E2736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2736
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2736#FFFFFF#000000##FFFFFF
##7E27361.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B36
Deuteranopia (green-blind)
#534D34
Tritanopia (blue-blind)
#8A162D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2736;
/* rgb */ color: rgb(126, 39, 54);
/* oklch */ color: oklch(41.0% 0.120 14.1);
Tailwind
colors: {
  custom: {
    50: '#a8676c',
    500: '#7e2736',
    950: '#000000',
  },
}
SCSS
$custom: #7e2736;
$custom-light: #a8676c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2736",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 54
  },
  "hsl": {
    "h": 349.655,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.11989,
    "h": 14.1
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#7E2736
secondary
#52AF9F
accent
#DCC34C
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E2736

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

Preview Lab → · Contrast checker → · Palette generator →

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