#7A1866#7A1866

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

Color values

HEX#7A1866
RGBrgb(122, 24, 102)
HSLhsl(312, 67%, 29%)
HSVhsv(312, 80%, 48%)
CMYKcmyk(0%, 80.3%, 16.4%, 52.2%)
CIE-LABlab(28.78, 48.81, -21.56)
CIE-LCHlch(28.78, 53.36, 336.17°)
OKLaboklab(40.67% 0.1445 -0.0586)
OKLCHoklch(40.67% 0.156 337.9)
XYZxyz(10.7512, 5.7512, 13.1117)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1866 #187A2C
analogous
#5D187A #7A1866 #7A1835
triadic
#7A1866 #667A18 #18667A
tetradic
#7A1866 #7A5D18 #187A2C #18357A
square
#7A1866 #7A5D18 #187A2C #18357A
split-complementary
#7A1866 #357A18 #187A5D
monochromatic
#1A0515 #470E3B #7A1866 #AD2291 #D735B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1866#FFFFFF#000000##FFFFFF
##7A18661.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)
#1D3A68
Deuteranopia (green-blind)
#3F4964
Tritanopia (blue-blind)
#811E3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1866;
/* rgb */ color: rgb(122, 24, 102);
/* oklch */ color: oklch(40.7% 0.156 337.9);
Tailwind
colors: {
  custom: {
    50: '#a46192',
    500: '#7a1866',
    950: '#000000',
  },
}
SCSS
$custom: #7a1866;
$custom-light: #a46192;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1866",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 312.245,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40673,
    "c": 0.15596,
    "h": 337.9
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#7A1866
secondary
#3FAF56
accent
#EA613E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7A1866

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

Preview Lab → · Contrast checker → · Palette generator →

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