#7E1965#7E1965

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

Color values

HEX#7E1965
RGBrgb(126, 25, 101)
HSLhsl(315, 67%, 30%)
HSVhsv(315, 80%, 49%)
CMYKcmyk(0%, 80.2%, 19.8%, 50.6%)
CIE-LABlab(29.59, 49.35, -19.59)
CIE-LCHlch(29.59, 53.09, 338.35°)
OKLaboklab(41.39% 0.1475 -0.0529)
OKLCHoklch(41.39% 0.157 340.3)
XYZxyz(11.3011, 6.0716, 12.8862)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1965 #197E32
analogous
#64197E #7E1965 #7E1933
triadic
#7E1965 #657E19 #19657E
tetradic
#7E1965 #7E6419 #197E32 #19337E
square
#7E1965 #7E6419 #197E32 #19337E
split-complementary
#7E1965 #337E19 #197E64
monochromatic
#1A0514 #4B0F3C #7E1965 #B1238E #D83AB1

Accessibility & contrast

On white

9.49
#7E1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1965
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1965#FFFFFF#000000##FFFFFF
##7E19651.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B67
Deuteranopia (green-blind)
#434B63
Tritanopia (blue-blind)
#861C3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1965;
/* rgb */ color: rgb(126, 25, 101);
/* oklch */ color: oklch(41.4% 0.157 340.3);
Tailwind
colors: {
  custom: {
    50: '#a76291',
    500: '#7e1965',
    950: '#000000',
  },
}
SCSS
$custom: #7e1965;
$custom-light: #a76291;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1965",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 314.851,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.1567,
    "h": 340.3
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#7E1965
secondary
#41B25D
accent
#EA693E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1965

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

Preview Lab → · Contrast checker → · Palette generator →

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