#7E2232#7E2232

#7E2232 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.126 H 15.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7E2232
RGBrgb(126, 34, 50)
HSLhsl(350, 58%, 31%)
HSVhsv(350, 73%, 49%)
CMYKcmyk(0%, 73%, 60.3%, 50.6%)
CIE-LABlab(28.93, 40.41, 13.13)
CIE-LCHlch(28.93, 42.49, 18.00°)
OKLaboklab(40.31% 0.1214 0.0324)
OKLCHoklch(40.31% 0.126 15)
XYZxyz(9.7529, 5.8113, 3.6251)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2232 #227E6E
analogous
#7E2260 #7E2232 #7E4022
triadic
#7E2232 #327E22 #22327E
tetradic
#7E2232 #607E22 #227E6E #40227E
square
#7E2232 #607E22 #227E6E #40227E
split-complementary
#7E2232 #227E40 #22607E
monochromatic
#1E080C #4E151F #7E2232 #AE2F45 #CF4C63

Accessibility & contrast

On white

9.71
#7E2232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E2232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2232
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2232#FFFFFF#000000##FFFFFF
##7E22321.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3832
Deuteranopia (green-blind)
#514B30
Tritanopia (blue-blind)
#8A0B29
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2232;
/* rgb */ color: rgb(126, 34, 50);
/* oklch */ color: oklch(40.3% 0.126 15.0);
Tailwind
colors: {
  custom: {
    50: '#a96469',
    500: '#7e2232',
    950: '#000000',
  },
}
SCSS
$custom: #7e2232;
$custom-light: #a96469;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2232",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 50
  },
  "hsl": {
    "h": 349.565,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.12564,
    "h": 15
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#7E2232
secondary
#4BB19F
accent
#E1C647
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2232

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

Preview Lab → · Contrast checker → · Palette generator →

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