#7E2633#7E2633

#7E2633 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.121 H 15.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7E2633
RGBrgb(126, 38, 51)
HSLhsl(351, 54%, 32%)
HSVhsv(351, 70%, 49%)
CMYKcmyk(0%, 69.8%, 59.5%, 50.6%)
CIE-LABlab(29.57, 38.80, 13.32)
CIE-LCHlch(29.57, 41.03, 18.95°)
OKLaboklab(40.8% 0.1164 0.0329)
OKLCHoklch(40.8% 0.121 15.8)
XYZxyz(9.8958, 6.0622, 3.7804)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2633 #267E71
analogous
#7E265F #7E2633 #7E4526
triadic
#7E2633 #337E26 #26337E
tetradic
#7E2633 #5F7E26 #267E71 #45267E
square
#7E2633 #5F7E26 #267E71 #45267E
split-complementary
#7E2633 #267E45 #265F7E
monochromatic
#200A0D #4F1820 #7E2633 #AD3446 #CB5365

Accessibility & contrast

On white

9.49
#7E2633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E2633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2633
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2633#FFFFFF#000000##FFFFFF
##7E26331.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3A33
Deuteranopia (green-blind)
#534C31
Tritanopia (blue-blind)
#8A132B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2633;
/* rgb */ color: rgb(126, 38, 51);
/* oklch */ color: oklch(40.8% 0.121 15.8);
Tailwind
colors: {
  custom: {
    50: '#a9666a',
    500: '#7e2633',
    950: '#000000',
  },
}
SCSS
$custom: #7e2633;
$custom-light: #a9666a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2633",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 51
  },
  "hsl": {
    "h": 351.136,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40796,
    "c": 0.12099,
    "h": 15.8
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#7E2633
secondary
#50B0A2
accent
#DDC74B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2633

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

Preview Lab → · Contrast checker → · Palette generator →

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