#7E2A33#7E2A33

#7E2A33 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.3% C 0.116 H 17.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7E2A33
RGBrgb(126, 42, 51)
HSLhsl(354, 50%, 33%)
HSVhsv(354, 67%, 49%)
CMYKcmyk(0%, 66.7%, 59.5%, 50.6%)
CIE-LABlab(30.23, 37.00, 14.21)
CIE-LCHlch(30.23, 39.63, 21.01°)
OKLaboklab(41.29% 0.1107 0.035)
OKLCHoklch(41.29% 0.116 17.6)
XYZxyz(10.0306, 6.3319, 3.8253)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A33 #2A7E75
analogous
#7E2A5D #7E2A33 #7E4B2A
triadic
#7E2A33 #337E2A #2A337E
tetradic
#7E2A33 #5D7E2A #2A7E75 #4B2A7E
square
#7E2A33 #5D7E2A #2A7E75 #4B2A7E
split-complementary
#7E2A33 #2A7E4B #2A5D7E
monochromatic
#220B0E #501B20 #7E2A33 #AC3946 #C85A66

Accessibility & contrast

On white

9.27
#7E2A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E2A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A33
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A33#FFFFFF#000000##FFFFFF
##7E2A331.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C33
Deuteranopia (green-blind)
#544E31
Tritanopia (blue-blind)
#8A1A2E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a33;
/* rgb */ color: rgb(126, 42, 51);
/* oklch */ color: oklch(41.3% 0.116 17.6);
Tailwind
colors: {
  custom: {
    50: '#a9686a',
    500: '#7e2a33',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a33;
$custom-light: #a9686a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a33",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 51
  },
  "hsl": {
    "h": 353.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41293,
    "c": 0.11608,
    "h": 17.6
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#7E2A33
secondary
#56AEA4
accent
#DACB4E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2A33

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

Preview Lab → · Contrast checker → · Palette generator →

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