#7E1C63#7E1C63

#7E1C63 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.152 H 341.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7E1C63
RGBrgb(126, 28, 99)
HSLhsl(317, 64%, 30%)
HSVhsv(317, 78%, 49%)
CMYKcmyk(0%, 77.8%, 21.4%, 50.6%)
CIE-LABlab(29.83, 48.10, -17.92)
CIE-LCHlch(29.83, 51.33, 339.57°)
OKLaboklab(41.53% 0.1443 -0.0482)
OKLCHoklch(41.53% 0.152 341.5)
XYZxyz(11.2719, 6.1681, 12.3989)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C63 #1C7E37
analogous
#681C7E #7E1C63 #7E1C32
triadic
#7E1C63 #637E1C #1C637E
tetradic
#7E1C63 #7E681C #1C7E37 #1C327E
square
#7E1C63 #7E681C #1C7E37 #1C327E
split-complementary
#7E1C63 #327E1C #1C7E68
monochromatic
#1A0614 #4C113C #7E1C63 #B0278A #D540AC

Accessibility & contrast

On white

9.40
#7E1C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C63
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C63#FFFFFF#000000##FFFFFF
##7E1C631.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253C65
Deuteranopia (green-blind)
#444C61
Tritanopia (blue-blind)
#861E3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1c63;
/* rgb */ color: rgb(126, 28, 99);
/* oklch */ color: oklch(41.5% 0.152 341.5);
Tailwind
colors: {
  custom: {
    50: '#a7638f',
    500: '#7e1c63',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c63;
$custom-light: #a7638f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c63",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 316.531,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.15211,
    "h": 341.5
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#7E1C63
secondary
#44B262
accent
#E76F41
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1C63

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

Preview Lab → · Contrast checker → · Palette generator →

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