#7A1768#7A1768

#7A1768 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.158 H 336.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7A1768
RGBrgb(122, 23, 104)
HSLhsl(311, 68%, 28%)
HSVhsv(311, 81%, 48%)
CMYKcmyk(0%, 81.1%, 14.8%, 52.2%)
CIE-LABlab(28.78, 49.41, -22.86)
CIE-LCHlch(28.78, 54.44, 335.18°)
OKLaboklab(40.71% 0.1457 -0.0623)
OKLCHoklch(40.71% 0.158 336.8)
XYZxyz(10.8313, 5.7509, 13.6336)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1768 #177A29
analogous
#5A177A #7A1768 #7A1736
triadic
#7A1768 #687A17 #17687A
tetradic
#7A1768 #7A5A17 #177A29 #17367A
square
#7A1768 #7A5A17 #177A29 #17367A
split-complementary
#7A1768 #367A17 #177A5A
monochromatic
#1A0516 #470D3C #7A1768 #AD2194 #D933BA

Accessibility & contrast

On white

9.77
#7A1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A1768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1768
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1768#FFFFFF#000000##FFFFFF
##7A17681.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1768;
/* rgb */ color: rgb(122, 23, 104);
/* oklch */ color: oklch(40.7% 0.158 336.8);
Tailwind
colors: {
  custom: {
    50: '#a46193',
    500: '#7a1768',
    950: '#000000',
  },
}
SCSS
$custom: #7a1768;
$custom-light: #a46193;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1768",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 310.909,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.15841,
    "h": 336.8
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#7A1768
secondary
#3EAF52
accent
#EB5C3D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A1768

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

Preview Lab → · Contrast checker → · Palette generator →

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