#7A1E68#7A1E68

#7A1E68 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.151 H 337.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7A1E68
RGBrgb(122, 30, 104)
HSLhsl(312, 61%, 30%)
HSVhsv(312, 75%, 48%)
CMYKcmyk(0%, 75.4%, 14.8%, 52.2%)
CIE-LABlab(29.58, 47.12, -21.60)
CIE-LCHlch(29.58, 51.83, 335.37°)
OKLaboklab(41.29% 0.1388 -0.0587)
OKLCHoklch(41.29% 0.151 337.1)
XYZxyz(10.9892, 6.0666, 13.6862)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E68 #1E7A30
analogous
#5E1E7A #7A1E68 #7A1E3A
triadic
#7A1E68 #687A1E #1E687A
tetradic
#7A1E68 #7A5E1E #1E7A30 #1E3A7A
square
#7A1E68 #7A5E1E #1E7A30 #1E3A7A
split-complementary
#7A1E68 #3A7A1E #1E7A5E
monochromatic
#190615 #49123E #7A1E68 #AB2A92 #D042B5

Accessibility & contrast

On white

9.49
#7A1E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A1E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E68
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E68#FFFFFF#000000##FFFFFF
##7A1E681.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#812440
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1e68;
/* rgb */ color: rgb(122, 30, 104);
/* oklch */ color: oklch(41.3% 0.151 337.1);
Tailwind
colors: {
  custom: {
    50: '#a46493',
    500: '#7a1e68',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e68;
$custom-light: #a46493;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e68",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 311.739,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.15069,
    "h": 337.1
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#7A1E68
secondary
#46AE5A
accent
#E46344
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A1E68

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

Preview Lab → · Contrast checker → · Palette generator →

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