#7E1763#7E1763

#7E1763 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.157 H 341.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7E1763
RGBrgb(126, 23, 99)
HSLhsl(316, 69%, 29%)
HSVhsv(316, 82%, 49%)
CMYKcmyk(0%, 81.7%, 21.4%, 50.6%)
CIE-LABlab(29.29, 49.66, -18.76)
CIE-LCHlch(29.29, 53.09, 339.30°)
OKLaboklab(41.13% 0.149 -0.0505)
OKLCHoklch(41.13% 0.157 341.3)
XYZxyz(11.1631, 5.9504, 12.3626)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1763 #177E32
analogous
#66177E #7E1763 #7E1730
triadic
#7E1763 #637E17 #17637E
tetradic
#7E1763 #7E6617 #177E32 #17307E
square
#7E1763 #7E6617 #177E32 #17307E
split-complementary
#7E1763 #307E17 #177E66
monochromatic
#1A0514 #4A0E3A #7E1763 #B2208C #DA35AF

Accessibility & contrast

On white

9.59
#7E1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1763
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1763#FFFFFF#000000##FFFFFF
##7E17631.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A65
Deuteranopia (green-blind)
#434B61
Tritanopia (blue-blind)
#861A3C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1763;
/* rgb */ color: rgb(126, 23, 99);
/* oklch */ color: oklch(41.1% 0.157 341.3);
Tailwind
colors: {
  custom: {
    50: '#a7618f',
    500: '#7e1763',
    950: '#000000',
  },
}
SCSS
$custom: #7e1763;
$custom-light: #a7618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1763",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 315.728,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41134,
    "c": 0.15737,
    "h": 341.3
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#7E1763
secondary
#3EB35D
accent
#EC6A3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1763

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

Preview Lab → · Contrast checker → · Palette generator →

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