#7E1146#7E1146

#7E1146 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.147 H 357.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7E1146
RGBrgb(126, 17, 70)
HSLhsl(331, 76%, 28%)
HSVhsv(331, 87%, 49%)
CMYKcmyk(0%, 86.5%, 44.4%, 50.6%)
CIE-LABlab(27.52, 47.76, -2.28)
CIE-LCHlch(27.52, 47.82, 357.26°)
OKLaboklab(39.46% 0.1471 -0.0054)
OKLCHoklch(39.46% 0.147 357.9)
XYZxyz(9.9109, 5.2801, 6.2904)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1146 #117E49
analogous
#7E117C #7E1146 #7E1311
triadic
#7E1146 #467E11 #11467E
tetradic
#7E1146 #7C7E11 #117E49 #13117E
square
#7E1146 #7C7E11 #117E49 #13117E
split-complementary
#7E1146 #117E13 #117C7E
monochromatic
#1B040F #480A28 #7E1146 #B41864 #E22782

Accessibility & contrast

On white

10.22
#7E1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1146
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1146#FFFFFF#000000##FFFFFF
##7E11461.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#494844
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1146;
/* rgb */ color: rgb(126, 17, 70);
/* oklch */ color: oklch(39.5% 0.147 357.9);
Tailwind
colors: {
  custom: {
    50: '#a85e79',
    500: '#7e1146',
    950: '#000000',
  },
}
SCSS
$custom: #7e1146;
$custom-light: #a85e79;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1146",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 330.826,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.14721,
    "h": 357.9
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#7E1146
secondary
#37B477
accent
#F39735
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7E1146

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

Preview Lab → · Contrast checker → · Palette generator →

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