#7E1D68#7E1D68

#7E1D68 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.154 H 338.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7E1D68
RGBrgb(126, 29, 104)
HSLhsl(314, 63%, 30%)
HSVhsv(314, 77%, 49%)
CMYKcmyk(0%, 77%, 17.5%, 50.6%)
CIE-LABlab(30.19, 48.49, -20.59)
CIE-LCHlch(30.19, 52.68, 337.00°)
OKLaboklab(41.87% 0.144 -0.0558)
OKLCHoklch(41.87% 0.154 338.8)
XYZxyz(11.5425, 6.3149, 13.7050)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D68 #1D7E33
analogous
#631D7E #7E1D68 #7E1D37
triadic
#7E1D68 #687E1D #1D687E
tetradic
#7E1D68 #7E631D #1D7E33 #1D377E
square
#7E1D68 #7E631D #1D7E33 #1D377E
split-complementary
#7E1D68 #377E1D #1D7E63
monochromatic
#1B0616 #4C123F #7E1D68 #B02891 #D342B2

Accessibility & contrast

On white

9.28
#7E1D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E1D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D68
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D68#FFFFFF#000000##FFFFFF
##7E1D681.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D6A
Deuteranopia (green-blind)
#434D66
Tritanopia (blue-blind)
#852140
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1d68;
/* rgb */ color: rgb(126, 29, 104);
/* oklch */ color: oklch(41.9% 0.154 338.8);
Tailwind
colors: {
  custom: {
    50: '#a76493',
    500: '#7e1d68',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d68;
$custom-light: #a76493;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d68",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 313.608,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41868,
    "c": 0.15441,
    "h": 338.8
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#7E1D68
secondary
#45B15E
accent
#E66742
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1D68

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

Preview Lab → · Contrast checker → · Palette generator →

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