#7E1065#7E1065

#7E1065 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.8% C 0.165 H 339.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7E1065
RGBrgb(126, 16, 101)
HSLhsl(314, 77%, 28%)
HSVhsv(314, 87%, 49%)
CMYKcmyk(0%, 87.3%, 19.8%, 50.6%)
CIE-LABlab(28.77, 51.73, -20.88)
CIE-LCHlch(28.77, 55.78, 338.02°)
OKLaboklab(40.79% 0.1548 -0.0565)
OKLCHoklch(40.79% 0.165 339.9)
XYZxyz(11.1388, 5.7470, 12.8321)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1065 #107E29
analogous
#60107E #7E1065 #7E102E
triadic
#7E1065 #657E10 #10657E
tetradic
#7E1065 #7E6010 #107E29 #102E7E
square
#7E1065 #7E6010 #107E29 #102E7E
split-complementary
#7E1065 #2E7E10 #107E60
monochromatic
#1B0316 #480939 #7E1065 #B41791 #E325B8

Accessibility & contrast

On white

9.77
#7E1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1065
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1065#FFFFFF#000000##FFFFFF
##7E10651.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3967
Deuteranopia (green-blind)
#404A63
Tritanopia (blue-blind)
#86153B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1065;
/* rgb */ color: rgb(126, 16, 101);
/* oklch */ color: oklch(40.8% 0.165 339.9);
Tailwind
colors: {
  custom: {
    50: '#a75f91',
    500: '#7e1065',
    950: '#000000',
  },
}
SCSS
$custom: #7e1065;
$custom-light: #a75f91;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1065",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 313.636,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40791,
    "c": 0.16475,
    "h": 339.9
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#7E1065
secondary
#36B452
accent
#F45F34
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1065

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

Preview Lab → · Contrast checker → · Palette generator →

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