#7E2132#7E2132

#7E2132 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.127 H 14.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7E2132
RGBrgb(126, 33, 50)
HSLhsl(349, 58%, 31%)
HSVhsv(349, 74%, 49%)
CMYKcmyk(0%, 73.8%, 60.3%, 50.6%)
CIE-LABlab(28.79, 40.81, 12.93)
CIE-LCHlch(28.79, 42.81, 17.58°)
OKLaboklab(40.21% 0.1227 0.032)
OKLCHoklch(40.21% 0.127 14.6)
XYZxyz(9.7247, 5.7550, 3.6157)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2132 #217E6D
analogous
#7E2160 #7E2132 #7E3E21
triadic
#7E2132 #327E21 #21327E
tetradic
#7E2132 #607E21 #217E6D #3E217E
square
#7E2132 #607E21 #217E6D #3E217E
split-complementary
#7E2132 #217E3E #21607E
monochromatic
#1D080C #4E141F #7E2132 #AE2E45 #D04A62

Accessibility & contrast

On white

9.76
#7E2132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E2132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2132
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2132#FFFFFF#000000##FFFFFF
##7E21321.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393832
Deuteranopia (green-blind)
#514B30
Tritanopia (blue-blind)
#8A0828
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2132;
/* rgb */ color: rgb(126, 33, 50);
/* oklch */ color: oklch(40.2% 0.127 14.6);
Tailwind
colors: {
  custom: {
    50: '#a96469',
    500: '#7e2132',
    950: '#000000',
  },
}
SCSS
$custom: #7e2132;
$custom-light: #a96469;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2132",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 50
  },
  "hsl": {
    "h": 349.032,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40205,
    "c": 0.12677,
    "h": 14.6
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#7E2132
secondary
#4AB19E
accent
#E2C546
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2132

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

Preview Lab → · Contrast checker → · Palette generator →

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