#7E1132#7E1132

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

Color values

HEX#7E1132
RGBrgb(126, 17, 50)
HSLhsl(342, 76%, 28%)
HSVhsv(342, 87%, 49%)
CMYKcmyk(0%, 86.5%, 60.3%, 50.6%)
CIE-LABlab(26.93, 46.04, 10.41)
CIE-LCHlch(26.93, 47.20, 12.75°)
OKLaboklab(38.83% 0.1395 0.026)
OKLCHoklch(38.83% 0.142 10.6)
XYZxyz(9.3813, 5.0682, 3.5013)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1132 #117E5D
analogous
#7E1168 #7E1132 #7E2611
triadic
#7E1132 #327E11 #11327E
tetradic
#7E1132 #687E11 #117E5D #26117E
square
#7E1132 #687E11 #117E5D #26117E
split-complementary
#7E1132 #117E26 #11687E
monochromatic
#1B040B #480A1D #7E1132 #B41847 #E22760

Accessibility & contrast

On white

10.43
#7E1132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1132
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1132#FFFFFF#000000##FFFFFF
##7E11321.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1132;
/* rgb */ color: rgb(126, 17, 50);
/* oklch */ color: oklch(38.8% 0.142 10.6);
Tailwind
colors: {
  custom: {
    50: '#aa5e69',
    500: '#7e1132',
    950: '#000000',
  },
}
SCSS
$custom: #7e1132;
$custom-light: #aa5e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1132",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 341.835,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38832,
    "c": 0.1419,
    "h": 10.6
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#7E1132
secondary
#37B48E
accent
#F3B935
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1132

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

Preview Lab → · Contrast checker → · Palette generator →

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