#7A1666#7A1666

#7A1666 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.158 H 337.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7A1666
RGBrgb(122, 22, 102)
HSLhsl(312, 69%, 28%)
HSVhsv(312, 82%, 48%)
CMYKcmyk(0%, 82%, 16.4%, 52.2%)
CIE-LABlab(28.57, 49.41, -21.89)
CIE-LCHlch(28.57, 54.04, 336.11°)
OKLaboklab(40.52% 0.1463 -0.0595)
OKLCHoklch(40.52% 0.158 337.9)
XYZxyz(10.7115, 5.6718, 13.0984)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1666 #167A2A
analogous
#5C167A #7A1666 #7A1634
triadic
#7A1666 #667A16 #16667A
tetradic
#7A1666 #7A5C16 #167A2A #16347A
square
#7A1666 #7A5C16 #167A2A #16347A
split-complementary
#7A1666 #347A16 #167A5C
monochromatic
#1A0516 #460D3B #7A1666 #AE1F91 #DA31B8

Accessibility & contrast

On white

9.84
#7A1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1666
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1666#FFFFFF#000000##FFFFFF
##7A16661.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#3E4964
Tritanopia (blue-blind)
#811C3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1666;
/* rgb */ color: rgb(122, 22, 102);
/* oklch */ color: oklch(40.5% 0.158 337.9);
Tailwind
colors: {
  custom: {
    50: '#a46192',
    500: '#7a1666',
    950: '#000000',
  },
}
SCSS
$custom: #7a1666;
$custom-light: #a46192;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1666",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 312,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.15796,
    "h": 337.9
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#7A1666
secondary
#3DAF54
accent
#EC5F3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7A1666

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

Preview Lab → · Contrast checker → · Palette generator →

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