#7E1147#7E1147

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

Color values

HEX#7E1147
RGBrgb(126, 17, 71)
HSLhsl(330, 76%, 28%)
HSVhsv(330, 87%, 49%)
CMYKcmyk(0%, 86.5%, 43.7%, 50.6%)
CIE-LABlab(27.55, 47.86, -2.91)
CIE-LCHlch(27.55, 47.95, 356.53°)
OKLaboklab(39.49% 0.1474 -0.007)
OKLCHoklch(39.49% 0.148 357.3)
XYZxyz(9.9427, 5.2928, 6.4581)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1147 #117E48
analogous
#7E117D #7E1147 #7E1111
triadic
#7E1147 #477E11 #11477E
tetradic
#7E1147 #7D7E11 #117E48 #11117E
square
#7E1147 #7D7E11 #117E48 #11117E
split-complementary
#7E1147 #117E11 #117D7E
monochromatic
#1B040F #480A29 #7E1147 #B41865 #E22784

Accessibility & contrast

On white

10.20
#7E1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1147
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1147#FFFFFF#000000##FFFFFF
##7E11471.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1147;
/* rgb */ color: rgb(126, 17, 71);
/* oklch */ color: oklch(39.5% 0.148 357.3);
Tailwind
colors: {
  custom: {
    50: '#a85e7a',
    500: '#7e1147',
    950: '#000000',
  },
}
SCSS
$custom: #7e1147;
$custom-light: #a85e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1147",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 330.275,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39493,
    "c": 0.1476,
    "h": 357.3
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#7E1147
secondary
#37B476
accent
#F39535
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E1147

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

Preview Lab → · Contrast checker → · Palette generator →

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