#7E106B#7E106B

#7E106B is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.169 H 336.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7E106B
RGBrgb(126, 16, 107)
HSLhsl(310, 77%, 28%)
HSVhsv(310, 87%, 49%)
CMYKcmyk(0%, 87.3%, 15.1%, 50.6%)
CIE-LABlab(29.08, 52.59, -24.26)
CIE-LCHlch(29.08, 57.91, 335.23°)
OKLaboklab(41.12% 0.1553 -0.0662)
OKLCHoklch(41.12% 0.169 336.9)
XYZxyz(11.4436, 5.8689, 14.4372)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E106B #107E23
analogous
#5A107E #7E106B #7E1034
triadic
#7E106B #6B7E10 #106B7E
tetradic
#7E106B #7E5A10 #107E23 #10347E
square
#7E106B #7E5A10 #107E23 #10347E
split-complementary
#7E106B #347E10 #107E5A
monochromatic
#1B0317 #48093D #7E106B #B41799 #E325C2

Accessibility & contrast

On white

9.66
#7E106B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E106B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E106B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E106B#FFFFFF#000000##FFFFFF
##7E106B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6D
Deuteranopia (green-blind)
#3E4A69
Tritanopia (blue-blind)
#851A3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e106b;
/* rgb */ color: rgb(126, 16, 107);
/* oklch */ color: oklch(41.1% 0.169 336.9);
Tailwind
colors: {
  custom: {
    50: '#a76095',
    500: '#7e106b',
    950: '#000000',
  },
}
SCSS
$custom: #7e106b;
$custom-light: #a76095;
$custom-dark: #000000;
JSON
{
  "hex": "#7e106b",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 107
  },
  "hsl": {
    "h": 310.364,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41118,
    "c": 0.16879,
    "h": 336.9
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#7E106B
secondary
#36B44B
accent
#F45534
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E106B

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

Preview Lab → · Contrast checker → · Palette generator →

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