#7E1963#7E1963

#7E1963 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.155 H 341.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7E1963
RGBrgb(126, 25, 99)
HSLhsl(316, 67%, 30%)
HSVhsv(316, 80%, 49%)
CMYKcmyk(0%, 80.2%, 21.4%, 50.6%)
CIE-LABlab(29.50, 49.06, -18.44)
CIE-LCHlch(29.50, 52.41, 339.40°)
OKLaboklab(41.28% 0.1472 -0.0496)
OKLCHoklch(41.28% 0.155 341.4)
XYZxyz(11.2043, 6.0329, 12.3764)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1963 #197E34
analogous
#67197E #7E1963 #7E1930
triadic
#7E1963 #637E19 #19637E
tetradic
#7E1963 #7E6719 #197E34 #19307E
square
#7E1963 #7E6719 #197E34 #19307E
split-complementary
#7E1963 #307E19 #197E67
monochromatic
#1A0514 #4B0F3B #7E1963 #B1238B #D83AAE

Accessibility & contrast

On white

9.52
#7E1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1963
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1963#FFFFFF#000000##FFFFFF
##7E19631.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B65
Deuteranopia (green-blind)
#434B61
Tritanopia (blue-blind)
#861B3C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1963;
/* rgb */ color: rgb(126, 25, 99);
/* oklch */ color: oklch(41.3% 0.155 341.4);
Tailwind
colors: {
  custom: {
    50: '#a7628f',
    500: '#7e1963',
    950: '#000000',
  },
}
SCSS
$custom: #7e1963;
$custom-light: #a7628f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1963",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 316.04,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41284,
    "c": 0.15536,
    "h": 341.4
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#7E1963
secondary
#41B25F
accent
#EA6C3E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1963

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

Preview Lab → · Contrast checker → · Palette generator →

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