#7E1148#7E1148

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

Color values

HEX#7E1148
RGBrgb(126, 17, 72)
HSLhsl(330, 76%, 28%)
HSVhsv(330, 87%, 49%)
CMYKcmyk(0%, 86.5%, 42.9%, 50.6%)
CIE-LABlab(27.59, 47.97, -3.52)
CIE-LCHlch(27.59, 48.09, 355.80°)
OKLaboklab(39.53% 0.1478 -0.0087)
OKLCHoklch(39.53% 0.148 356.6)
XYZxyz(9.9751, 5.3057, 6.6285)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1148 #117E47
analogous
#7D117E #7E1148 #7E1111
triadic
#7E1148 #487E11 #11487E
tetradic
#7E1148 #7E7D11 #117E47 #11117E
square
#7E1148 #7E7D11 #117E47 #11117E
split-complementary
#7E1148 #117E11 #117E7D
monochromatic
#1B040F #480A29 #7E1148 #B41867 #E22786

Accessibility & contrast

On white

10.19
#7E1148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1148
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1148#FFFFFF#000000##FFFFFF
##7E11481.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1148;
/* rgb */ color: rgb(126, 17, 72);
/* oklch */ color: oklch(39.5% 0.148 356.6);
Tailwind
colors: {
  custom: {
    50: '#a85e7a',
    500: '#7e1148',
    950: '#000000',
  },
}
SCSS
$custom: #7e1148;
$custom-light: #a85e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1148",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 329.725,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.14801,
    "h": 356.6
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#7E1148
secondary
#37B475
accent
#F39335
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E1148

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

Preview Lab → · Contrast checker → · Palette generator →

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