#7E2667#7E2667

#7E2667 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.142 H 339.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7E2667
RGBrgb(126, 38, 103)
HSLhsl(316, 54%, 32%)
HSVhsv(316, 70%, 49%)
CMYKcmyk(0%, 69.8%, 18.3%, 50.6%)
CIE-LABlab(31.35, 44.94, -18.15)
CIE-LCHlch(31.35, 48.47, 338.01°)
OKLaboklab(42.69% 0.1336 -0.0489)
OKLCHoklch(42.69% 0.142 339.9)
XYZxyz(11.7458, 6.8022, 13.5237)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2667 #267E3D
analogous
#69267E #7E2667 #7E263B
triadic
#7E2667 #677E26 #26677E
tetradic
#7E2667 #7E6926 #267E3D #263B7E
square
#7E2667 #7E6926 #267E3D #263B7E
split-complementary
#7E2667 #3B7E26 #267E69
monochromatic
#200A1A #4F1841 #7E2667 #AD348D #CB53AC

Accessibility & contrast

On white

8.90
#7E2667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E2667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2667
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2667#FFFFFF#000000##FFFFFF
##7E26671.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4169
Deuteranopia (green-blind)
#474F65
Tritanopia (blue-blind)
#852943
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2667;
/* rgb */ color: rgb(126, 38, 103);
/* oklch */ color: oklch(42.7% 0.142 339.9);
Tailwind
colors: {
  custom: {
    50: '#a66892',
    500: '#7e2667',
    950: '#000000',
  },
}
SCSS
$custom: #7e2667;
$custom-light: #a66892;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2667",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 103
  },
  "hsl": {
    "h": 315.682,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42694,
    "c": 0.14227,
    "h": 339.9
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#7E2667
secondary
#50B069
accent
#DD714B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E2667

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

Preview Lab → · Contrast checker → · Palette generator →

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