#7A1668#7A1668

#7A1668 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.159 H 336.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7A1668
RGBrgb(122, 22, 104)
HSLhsl(311, 69%, 28%)
HSVhsv(311, 82%, 48%)
CMYKcmyk(0%, 82%, 14.8%, 52.2%)
CIE-LABlab(28.67, 49.71, -23.02)
CIE-LCHlch(28.67, 54.78, 335.15°)
OKLaboklab(40.63% 0.1465 -0.0627)
OKLCHoklch(40.63% 0.159 336.8)
XYZxyz(10.8119, 5.7119, 13.6271)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1668 #167A28
analogous
#5A167A #7A1668 #7A1636
triadic
#7A1668 #687A16 #16687A
tetradic
#7A1668 #7A5A16 #167A28 #16367A
square
#7A1668 #7A5A16 #167A28 #16367A
split-complementary
#7A1668 #367A16 #167A5A
monochromatic
#1A0516 #460D3C #7A1668 #AE1F94 #DA31BB

Accessibility & contrast

On white

9.80
#7A1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1668
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1668#FFFFFF#000000##FFFFFF
##7A16681.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#3D4966
Tritanopia (blue-blind)
#811E3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1668;
/* rgb */ color: rgb(122, 22, 104);
/* oklch */ color: oklch(40.6% 0.159 336.8);
Tailwind
colors: {
  custom: {
    50: '#a46193',
    500: '#7a1668',
    950: '#000000',
  },
}
SCSS
$custom: #7a1668;
$custom-light: #a46193;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1668",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 310.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.15938,
    "h": 336.8
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#7A1668
secondary
#3DAF51
accent
#EC5B3C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A1668

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

Preview Lab → · Contrast checker → · Palette generator →

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