#7E1163#7E1163

#7E1163 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 341.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7E1163
RGBrgb(126, 17, 99)
HSLhsl(315, 76%, 28%)
HSVhsv(315, 87%, 49%)
CMYKcmyk(0%, 86.5%, 21.4%, 50.6%)
CIE-LABlab(28.74, 51.22, -19.61)
CIE-LCHlch(28.74, 54.85, 339.05°)
OKLaboklab(40.74% 0.1538 -0.0529)
OKLCHoklch(40.74% 0.163 341)
XYZxyz(11.0571, 5.7386, 12.3273)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1163 #117E2C
analogous
#62117E #7E1163 #7E112D
triadic
#7E1163 #637E11 #11637E
tetradic
#7E1163 #7E6211 #117E2C #112D7E
square
#7E1163 #7E6211 #117E2C #112D7E
split-complementary
#7E1163 #2D7E11 #117E62
monochromatic
#1B0415 #480A39 #7E1163 #B4188D #E227B4

Accessibility & contrast

On white

9.78
#7E1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1163
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1163#FFFFFF#000000##FFFFFF
##7E11631.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3965
Deuteranopia (green-blind)
#414A61
Tritanopia (blue-blind)
#86153A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1163;
/* rgb */ color: rgb(126, 17, 99);
/* oklch */ color: oklch(40.7% 0.163 341.0);
Tailwind
colors: {
  custom: {
    50: '#a7608f',
    500: '#7e1163',
    950: '#000000',
  },
}
SCSS
$custom: #7e1163;
$custom-light: #a7608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1163",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 314.862,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.16267,
    "h": 341
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#7E1163
secondary
#37B456
accent
#F36435
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1163

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

Preview Lab → · Contrast checker → · Palette generator →

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