#7E2033#7E2033

#7E2033 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.128 H 13.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7E2033
RGBrgb(126, 32, 51)
HSLhsl(348, 59%, 31%)
HSVhsv(348, 75%, 49%)
CMYKcmyk(0%, 74.6%, 59.5%, 50.6%)
CIE-LABlab(28.67, 41.29, 12.10)
CIE-LCHlch(28.67, 43.02, 16.34°)
OKLaboklab(40.12% 0.1244 0.0301)
OKLCHoklch(40.12% 0.128 13.6)
XYZxyz(9.7192, 5.7090, 3.7215)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2033 #207E6B
analogous
#7E2062 #7E2033 #7E3C20
triadic
#7E2033 #337E20 #20337E
tetradic
#7E2033 #627E20 #207E6B #3C207E
square
#7E2033 #627E20 #207E6B #3C207E
split-complementary
#7E2033 #207E3C #20627E
monochromatic
#1C070B #4D141F #7E2033 #AF2C47 #D04864

Accessibility & contrast

On white

9.81
#7E2033 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E2033 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2033
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2033#FFFFFF#000000##FFFFFF
##7E20331.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383733
Deuteranopia (green-blind)
#514B31
Tritanopia (blue-blind)
#8A0628
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2033;
/* rgb */ color: rgb(126, 32, 51);
/* oklch */ color: oklch(40.1% 0.128 13.6);
Tailwind
colors: {
  custom: {
    50: '#a9636a',
    500: '#7e2033',
    950: '#000000',
  },
}
SCSS
$custom: #7e2033;
$custom-light: #a9636a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2033",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 51
  },
  "hsl": {
    "h": 347.872,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.12794,
    "h": 13.6
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#7E2033
secondary
#49B19C
accent
#E3C345
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2033

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

Preview Lab → · Contrast checker → · Palette generator →

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