#7E1133#7E1133

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

Color values

HEX#7E1133
RGBrgb(126, 17, 51)
HSLhsl(341, 76%, 28%)
HSVhsv(341, 87%, 49%)
CMYKcmyk(0%, 86.5%, 59.5%, 50.6%)
CIE-LABlab(26.95, 46.11, 9.77)
CIE-LCHlch(26.95, 47.13, 11.96°)
OKLaboklab(38.86% 0.1399 0.0245)
OKLCHoklch(38.86% 0.142 9.9)
XYZxyz(9.4031, 5.0769, 3.6161)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1133 #117E5C
analogous
#7E116A #7E1133 #7E2511
triadic
#7E1133 #337E11 #11337E
tetradic
#7E1133 #6A7E11 #117E5C #25117E
square
#7E1133 #6A7E11 #117E5C #25117E
split-complementary
#7E1133 #117E25 #116A7E
monochromatic
#1B040B #480A1D #7E1133 #B41849 #E22762

Accessibility & contrast

On white

10.42
#7E1133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1133 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1133
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1133#FFFFFF#000000##FFFFFF
##7E11331.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313234
Deuteranopia (green-blind)
#4D4730
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1133;
/* rgb */ color: rgb(126, 17, 51);
/* oklch */ color: oklch(38.9% 0.142 9.9);
Tailwind
colors: {
  custom: {
    50: '#aa5e6a',
    500: '#7e1133',
    950: '#000000',
  },
}
SCSS
$custom: #7e1133;
$custom-light: #aa5e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1133",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 341.284,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.14205,
    "h": 9.9
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#7E1133
secondary
#37B48D
accent
#F3B835
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1133

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

Preview Lab → · Contrast checker → · Palette generator →

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