#7E1063#7E1063

#7E1063 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.81:1 contrast (WCAG AA passes).

Color values

HEX#7E1063
RGBrgb(126, 16, 99)
HSLhsl(315, 77%, 28%)
HSVhsv(315, 87%, 49%)
CMYKcmyk(0%, 87.3%, 21.4%, 50.6%)
CIE-LABlab(28.66, 51.45, -19.73)
CIE-LCHlch(28.66, 55.11, 339.02°)
OKLaboklab(40.69% 0.1545 -0.0532)
OKLCHoklch(40.69% 0.163 341)
XYZxyz(11.0420, 5.7082, 12.3223)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1063 #107E2B
analogous
#62107E #7E1063 #7E102C
triadic
#7E1063 #637E10 #10637E
tetradic
#7E1063 #7E6210 #107E2B #102C7E
square
#7E1063 #7E6210 #107E2B #102C7E
split-complementary
#7E1063 #2C7E10 #107E62
monochromatic
#1B0315 #480938 #7E1063 #B4178E #E325B5

Accessibility & contrast

On white

9.81
#7E1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1063
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1063#FFFFFF#000000##FFFFFF
##7E10631.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1063;
/* rgb */ color: rgb(126, 16, 99);
/* oklch */ color: oklch(40.7% 0.163 341.0);
Tailwind
colors: {
  custom: {
    50: '#a75f8f',
    500: '#7e1063',
    950: '#000000',
  },
}
SCSS
$custom: #7e1063;
$custom-light: #a75f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1063",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 314.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.16345,
    "h": 341
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#7E1063
secondary
#36B455
accent
#F46334
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1063

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

Preview Lab → · Contrast checker → · Palette generator →

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