#7E1964#7E1964

#7E1964 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.156 H 340.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7E1964
RGBrgb(126, 25, 100)
HSLhsl(315, 67%, 30%)
HSVhsv(315, 80%, 49%)
CMYKcmyk(0%, 80.2%, 20.6%, 50.6%)
CIE-LABlab(29.54, 49.20, -19.01)
CIE-LCHlch(29.54, 52.75, 338.87°)
OKLaboklab(41.34% 0.1474 -0.0513)
OKLCHoklch(41.34% 0.156 340.8)
XYZxyz(11.2524, 6.0521, 12.6297)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1964 #197E33
analogous
#66197E #7E1964 #7E1931
triadic
#7E1964 #647E19 #19647E
tetradic
#7E1964 #7E6619 #197E33 #19317E
square
#7E1964 #7E6619 #197E33 #19317E
split-complementary
#7E1964 #317E19 #197E66
monochromatic
#1A0514 #4B0F3B #7E1964 #B1238D #D83AAF

Accessibility & contrast

On white

9.50
#7E1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1964
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1964#FFFFFF#000000##FFFFFF
##7E19641.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223B66
Deuteranopia (green-blind)
#434B62
Tritanopia (blue-blind)
#861C3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1964;
/* rgb */ color: rgb(126, 25, 100);
/* oklch */ color: oklch(41.3% 0.156 340.8);
Tailwind
colors: {
  custom: {
    50: '#a76290',
    500: '#7e1964',
    950: '#000000',
  },
}
SCSS
$custom: #7e1964;
$custom-light: #a76290;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1964",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 315.446,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.15602,
    "h": 340.8
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#7E1964
secondary
#41B25E
accent
#EA6A3E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1964

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

Preview Lab → · Contrast checker → · Palette generator →

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