#7E1C68#7E1C68

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

Color values

HEX#7E1C68
RGBrgb(126, 28, 104)
HSLhsl(313, 64%, 30%)
HSVhsv(313, 78%, 49%)
CMYKcmyk(0%, 77.8%, 17.5%, 50.6%)
CIE-LABlab(30.08, 48.83, -20.77)
CIE-LCHlch(30.08, 53.06, 336.96°)
OKLaboklab(41.78% 0.145 -0.0563)
OKLCHoklch(41.78% 0.156 338.8)
XYZxyz(11.5184, 6.2667, 13.6970)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C68 #1C7E32
analogous
#631C7E #7E1C68 #7E1C37
triadic
#7E1C68 #687E1C #1C687E
tetradic
#7E1C68 #7E631C #1C7E32 #1C377E
square
#7E1C68 #7E631C #1C7E32 #1C377E
split-complementary
#7E1C68 #377E1C #1C7E63
monochromatic
#1A0615 #4C113F #7E1C68 #B02791 #D540B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1C68#FFFFFF#000000##FFFFFF
##7E1C681.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)
#223D6A
Deuteranopia (green-blind)
#424C66
Tritanopia (blue-blind)
#852140
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1c68;
/* rgb */ color: rgb(126, 28, 104);
/* oklch */ color: oklch(41.8% 0.156 338.8);
Tailwind
colors: {
  custom: {
    50: '#a76393',
    500: '#7e1c68',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c68;
$custom-light: #a76393;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c68",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 313.469,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41783,
    "c": 0.15555,
    "h": 338.8
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#7E1C68
secondary
#44B25D
accent
#E76641
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1C68

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

Preview Lab → · Contrast checker → · Palette generator →

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