#7E2134#7E2134

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

Color values

HEX#7E2134
RGBrgb(126, 33, 52)
HSLhsl(348, 58%, 31%)
HSVhsv(348, 74%, 49%)
CMYKcmyk(0%, 73.8%, 58.7%, 50.6%)
CIE-LABlab(28.83, 40.97, 11.66)
CIE-LCHlch(28.83, 42.60, 15.89°)
OKLaboklab(40.25% 0.1235 0.0291)
OKLCHoklch(40.25% 0.127 13.2)
XYZxyz(9.7688, 5.7726, 3.8480)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2134 #217E6B
analogous
#7E2162 #7E2134 #7E3C21
triadic
#7E2134 #347E21 #21347E
tetradic
#7E2134 #627E21 #217E6B #3C217E
square
#7E2134 #627E21 #217E6B #3C217E
split-complementary
#7E2134 #217E3C #21627E
monochromatic
#1D080C #4E1420 #7E2134 #AE2E48 #D04A65

Accessibility & contrast

On white

9.75
#7E2134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2134
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2134#FFFFFF#000000##FFFFFF
##7E21341.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393834
Deuteranopia (green-blind)
#514B32
Tritanopia (blue-blind)
#8A0929
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2134;
/* rgb */ color: rgb(126, 33, 52);
/* oklch */ color: oklch(40.3% 0.127 13.2);
Tailwind
colors: {
  custom: {
    50: '#a9646b',
    500: '#7e2134',
    950: '#000000',
  },
}
SCSS
$custom: #7e2134;
$custom-light: #a9646b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2134",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 52
  },
  "hsl": {
    "h": 347.742,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.12689,
    "h": 13.2
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#7E2134
secondary
#4AB19C
accent
#E2C246
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2134

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

Preview Lab → · Contrast checker → · Palette generator →

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