#7E1E68#7E1E68

#7E1E68 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.153 H 338.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7E1E68
RGBrgb(126, 30, 104)
HSLhsl(314, 62%, 31%)
HSVhsv(314, 76%, 49%)
CMYKcmyk(0%, 76.2%, 17.5%, 50.6%)
CIE-LABlab(30.31, 48.15, -20.40)
CIE-LCHlch(30.31, 52.29, 337.04°)
OKLaboklab(41.96% 0.143 -0.0552)
OKLCHoklch(41.96% 0.153 338.9)
XYZxyz(11.5674, 6.3648, 13.7133)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E68 #1E7E34
analogous
#641E7E #7E1E68 #7E1E38
triadic
#7E1E68 #687E1E #1E687E
tetradic
#7E1E68 #7E641E #1E7E34 #1E387E
square
#7E1E68 #7E641E #1E7E34 #1E387E
split-complementary
#7E1E68 #387E1E #1E7E64
monochromatic
#1B0616 #4D123F #7E1E68 #AF2A91 #D244B2

Accessibility & contrast

On white

9.24
#7E1E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E1E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E68
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E68#FFFFFF#000000##FFFFFF
##7E1E681.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233E6A
Deuteranopia (green-blind)
#434D66
Tritanopia (blue-blind)
#852240
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1e68;
/* rgb */ color: rgb(126, 30, 104);
/* oklch */ color: oklch(42.0% 0.153 338.9);
Tailwind
colors: {
  custom: {
    50: '#a76493',
    500: '#7e1e68',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e68;
$custom-light: #a76493;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e68",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 313.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41956,
    "c": 0.15326,
    "h": 338.9
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#7E1E68
secondary
#47B15F
accent
#E56843
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1E68

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

Preview Lab → · Contrast checker → · Palette generator →

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