#7E2767#7E2767

#7E2767 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.141 H 340.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7E2767
RGBrgb(126, 39, 103)
HSLhsl(316, 53%, 32%)
HSVhsv(316, 69%, 49%)
CMYKcmyk(0%, 69%, 18.3%, 50.6%)
CIE-LABlab(31.50, 44.53, -17.91)
CIE-LCHlch(31.50, 48.00, 338.08°)
OKLaboklab(42.8% 0.1323 -0.0483)
OKLCHoklch(42.8% 0.141 340)
XYZxyz(11.7782, 6.8670, 13.5345)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2767 #277E3E
analogous
#69277E #7E2767 #7E273C
triadic
#7E2767 #677E27 #27677E
tetradic
#7E2767 #7E6927 #277E3E #273C7E
square
#7E2767 #7E6927 #277E3E #273C7E
split-complementary
#7E2767 #3C7E27 #277E69
monochromatic
#210A1B #4F1941 #7E2767 #AD358D #CA55AB

Accessibility & contrast

On white

8.85
#7E2767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E2767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2767
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2767#FFFFFF#000000##FFFFFF
##7E27671.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2767;
/* rgb */ color: rgb(126, 39, 103);
/* oklch */ color: oklch(42.8% 0.141 340.0);
Tailwind
colors: {
  custom: {
    50: '#a66892',
    500: '#7e2767',
    950: '#000000',
  },
}
SCSS
$custom: #7e2767;
$custom-light: #a66892;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2767",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 315.862,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.14086,
    "h": 340
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#7E2767
secondary
#52AF6A
accent
#DC724C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2767

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

Preview Lab → · Contrast checker → · Palette generator →

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