#7E1966#7E1966

#7E1966 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.157 H 339.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7E1966
RGBrgb(126, 25, 102)
HSLhsl(314, 67%, 30%)
HSVhsv(314, 80%, 49%)
CMYKcmyk(0%, 80.2%, 19%, 50.6%)
CIE-LABlab(29.64, 49.49, -20.16)
CIE-LCHlch(29.64, 53.44, 337.84°)
OKLaboklab(41.44% 0.1476 -0.0545)
OKLCHoklch(41.44% 0.157 339.7)
XYZxyz(11.3504, 6.0913, 13.1458)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1966 #197E31
analogous
#63197E #7E1966 #7E1934
triadic
#7E1966 #667E19 #19667E
tetradic
#7E1966 #7E6319 #197E31 #19347E
square
#7E1966 #7E6319 #197E31 #19347E
split-complementary
#7E1966 #347E19 #197E63
monochromatic
#1A0515 #4B0F3D #7E1966 #B1238F #D83AB2

Accessibility & contrast

On white

9.47
#7E1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1966
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1966#FFFFFF#000000##FFFFFF
##7E19661.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C68
Deuteranopia (green-blind)
#424B64
Tritanopia (blue-blind)
#861D3E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1966;
/* rgb */ color: rgb(126, 25, 102);
/* oklch */ color: oklch(41.4% 0.157 339.7);
Tailwind
colors: {
  custom: {
    50: '#a76292',
    500: '#7e1966',
    950: '#000000',
  },
}
SCSS
$custom: #7e1966;
$custom-light: #a76292;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1966",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 314.257,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41438,
    "c": 0.15738,
    "h": 339.7
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#7E1966
secondary
#41B25C
accent
#EA673E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7E1966

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

Preview Lab → · Contrast checker → · Palette generator →

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