#7E1131#7E1131

#7E1131 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.142 H 11.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7E1131
RGBrgb(126, 17, 49)
HSLhsl(342, 76%, 28%)
HSVhsv(342, 87%, 49%)
CMYKcmyk(0%, 86.5%, 61.1%, 50.6%)
CIE-LABlab(26.90, 45.96, 11.06)
CIE-LCHlch(26.90, 47.28, 13.53°)
OKLaboklab(38.81% 0.1391 0.0275)
OKLCHoklch(38.81% 0.142 11.2)
XYZxyz(9.3600, 5.0597, 3.3889)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1131 #117E5E
analogous
#7E1167 #7E1131 #7E2711
triadic
#7E1131 #317E11 #11317E
tetradic
#7E1131 #677E11 #117E5E #27117E
square
#7E1131 #677E11 #117E5E #27117E
split-complementary
#7E1131 #117E27 #11677E
monochromatic
#1B040A #480A1C #7E1131 #B41846 #E2275E

Accessibility & contrast

On white

10.44
#7E1131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1131
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1131#FFFFFF#000000##FFFFFF
##7E11311.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323231
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#8A0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1131;
/* rgb */ color: rgb(126, 17, 49);
/* oklch */ color: oklch(38.8% 0.142 11.2);
Tailwind
colors: {
  custom: {
    50: '#aa5e68',
    500: '#7e1131',
    950: '#000000',
  },
}
SCSS
$custom: #7e1131;
$custom-light: #aa5e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1131",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 342.385,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38807,
    "c": 0.14177,
    "h": 11.2
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#7E1131
secondary
#37B48F
accent
#F3BB35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1131

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

Preview Lab → · Contrast checker → · Palette generator →

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