#7E2133#7E2133

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

Color values

HEX#7E2133
RGBrgb(126, 33, 51)
HSLhsl(348, 58%, 31%)
HSVhsv(348, 74%, 49%)
CMYKcmyk(0%, 73.8%, 59.5%, 50.6%)
CIE-LABlab(28.81, 40.89, 12.30)
CIE-LCHlch(28.81, 42.70, 16.74°)
OKLaboklab(40.23% 0.1231 0.0305)
OKLCHoklch(40.23% 0.127 13.9)
XYZxyz(9.7465, 5.7637, 3.7306)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2133 #217E6C
analogous
#7E2161 #7E2133 #7E3D21
triadic
#7E2133 #337E21 #21337E
tetradic
#7E2133 #617E21 #217E6C #3D217E
square
#7E2133 #617E21 #217E6C #3D217E
split-complementary
#7E2133 #217E3D #21617E
monochromatic
#1D080C #4E141F #7E2133 #AE2E47 #D04A64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2133#FFFFFF#000000##FFFFFF
##7E21331.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)
#393833
Deuteranopia (green-blind)
#514B31
Tritanopia (blue-blind)
#8A0928
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2133;
/* rgb */ color: rgb(126, 33, 51);
/* oklch */ color: oklch(40.2% 0.127 13.9);
Tailwind
colors: {
  custom: {
    50: '#a9646a',
    500: '#7e2133',
    950: '#000000',
  },
}
SCSS
$custom: #7e2133;
$custom-light: #a9646a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2133",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 51
  },
  "hsl": {
    "h": 348.387,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.12683,
    "h": 13.9
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#7E2133
secondary
#4AB19D
accent
#E2C446
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2133

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

Preview Lab → · Contrast checker → · Palette generator →

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