#7E1E63#7E1E63

#7E1E63 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.150 H 341.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7E1E63
RGBrgb(126, 30, 99)
HSLhsl(317, 62%, 31%)
HSVhsv(317, 76%, 49%)
CMYKcmyk(0%, 76.2%, 21.4%, 50.6%)
CIE-LABlab(30.07, 47.41, -17.54)
CIE-LCHlch(30.07, 50.55, 339.69°)
OKLaboklab(41.7% 0.1422 -0.0472)
OKLCHoklch(41.7% 0.15 341.6)
XYZxyz(11.3210, 6.2662, 12.4152)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E63 #1E7E39
analogous
#691E7E #7E1E63 #7E1E33
triadic
#7E1E63 #637E1E #1E637E
tetradic
#7E1E63 #7E691E #1E7E39 #1E337E
square
#7E1E63 #7E691E #1E7E39 #1E337E
split-complementary
#7E1E63 #337E1E #1E7E69
monochromatic
#1B0615 #4D123C #7E1E63 #AF2A8A #D244AA

Accessibility & contrast

On white

9.32
#7E1E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E1E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E63
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E63#FFFFFF#000000##FFFFFF
##7E1E631.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D65
Deuteranopia (green-blind)
#454C61
Tritanopia (blue-blind)
#86203E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1e63;
/* rgb */ color: rgb(126, 30, 99);
/* oklch */ color: oklch(41.7% 0.150 341.6);
Tailwind
colors: {
  custom: {
    50: '#a7648f',
    500: '#7e1e63',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e63;
$custom-light: #a7648f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e63",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 316.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.1498,
    "h": 341.6
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#7E1E63
secondary
#47B165
accent
#E57143
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1E63

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

Preview Lab → · Contrast checker → · Palette generator →

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