#7E1C6A#7E1C6A

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

Color values

HEX#7E1C6A
RGBrgb(126, 28, 106)
HSLhsl(312, 64%, 30%)
HSVhsv(312, 78%, 49%)
CMYKcmyk(0%, 77.8%, 15.9%, 50.6%)
CIE-LABlab(30.18, 49.13, -21.90)
CIE-LCHlch(30.18, 53.79, 335.97°)
OKLaboklab(41.89% 0.1453 -0.0595)
OKLCHoklch(41.89% 0.157 337.7)
XYZxyz(11.6212, 6.3078, 14.2384)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C6A #1C7E30
analogous
#611C7E #7E1C6A #7E1C39
triadic
#7E1C6A #6A7E1C #1C6A7E
tetradic
#7E1C6A #7E611C #1C7E30 #1C397E
square
#7E1C6A #7E611C #1C7E30 #1C397E
split-complementary
#7E1C6A #397E1C #1C7E61
monochromatic
#1A0616 #4C1140 #7E1C6A #B02794 #D540B6

Accessibility & contrast

On white

9.29
#7E1C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1C6A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C6A#FFFFFF#000000##FFFFFF
##7E1C6A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6C
Deuteranopia (green-blind)
#424C68
Tritanopia (blue-blind)
#852241
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1c6a;
/* rgb */ color: rgb(126, 28, 106);
/* oklch */ color: oklch(41.9% 0.157 337.7);
Tailwind
colors: {
  custom: {
    50: '#a76495',
    500: '#7e1c6a',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c6a;
$custom-light: #a76495;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c6a",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 312.245,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.15696,
    "h": 337.7
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#7E1C6A
secondary
#44B25A
accent
#E76341
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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