#7A1A68#7A1A68

#7A1A68 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.155 H 336.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7A1A68
RGBrgb(122, 26, 104)
HSLhsl(311, 65%, 29%)
HSVhsv(311, 79%, 48%)
CMYKcmyk(0%, 78.7%, 14.8%, 52.2%)
CIE-LABlab(29.10, 48.48, -22.35)
CIE-LCHlch(29.10, 53.39, 335.25°)
OKLaboklab(40.94% 0.1429 -0.0608)
OKLCHoklch(40.94% 0.155 336.9)
XYZxyz(10.8943, 5.8769, 13.6546)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A68 #1A7A2C
analogous
#5C1A7A #7A1A68 #7A1A38
triadic
#7A1A68 #687A1A #1A687A
tetradic
#7A1A68 #7A5C1A #1A7A2C #1A387A
square
#7A1A68 #7A5C1A #1A7A2C #1A387A
split-complementary
#7A1A68 #387A1A #1A7A5C
monochromatic
#190516 #480F3D #7A1A68 #AC2593 #D539B8

Accessibility & contrast

On white

9.65
#7A1A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A1A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A68
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A68#FFFFFF#000000##FFFFFF
##7A1A681.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B6A
Deuteranopia (green-blind)
#3E4A66
Tritanopia (blue-blind)
#81203F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1a68;
/* rgb */ color: rgb(122, 26, 104);
/* oklch */ color: oklch(40.9% 0.155 336.9);
Tailwind
colors: {
  custom: {
    50: '#a46293',
    500: '#7a1a68',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a68;
$custom-light: #a46293;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a68",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 311.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40939,
    "c": 0.15528,
    "h": 336.9
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#7A1A68
secondary
#41AE56
accent
#E85F40
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A1A68

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

Preview Lab → · Contrast checker → · Palette generator →

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