#7A1868#7A1868

#7A1868 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.157 H 336.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7A1868
RGBrgb(122, 24, 104)
HSLhsl(311, 67%, 29%)
HSVhsv(311, 80%, 48%)
CMYKcmyk(0%, 80.3%, 14.8%, 52.2%)
CIE-LABlab(28.88, 49.11, -22.69)
CIE-LCHlch(28.88, 54.10, 335.20°)
OKLaboklab(40.78% 0.1447 -0.0618)
OKLCHoklch(40.78% 0.157 336.9)
XYZxyz(10.8516, 5.7913, 13.6404)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1868 #187A2A
analogous
#5B187A #7A1868 #7A1837
triadic
#7A1868 #687A18 #18687A
tetradic
#7A1868 #7A5B18 #187A2A #18377A
square
#7A1868 #7A5B18 #187A2A #18377A
split-complementary
#7A1868 #377A18 #187A5B
monochromatic
#1A0516 #470E3C #7A1868 #AD2294 #D735B9

Accessibility & contrast

On white

9.73
#7A1868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A1868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1868
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1868#FFFFFF#000000##FFFFFF
##7A18681.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6A
Deuteranopia (green-blind)
#3E4966
Tritanopia (blue-blind)
#811F3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1868;
/* rgb */ color: rgb(122, 24, 104);
/* oklch */ color: oklch(40.8% 0.157 336.9);
Tailwind
colors: {
  custom: {
    50: '#a46193',
    500: '#7a1868',
    950: '#000000',
  },
}
SCSS
$custom: #7a1868;
$custom-light: #a46193;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1868",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 311.02,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40781,
    "c": 0.15739,
    "h": 336.9
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#7A1868
secondary
#3FAF54
accent
#EA5D3E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A1868

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

Preview Lab → · Contrast checker → · Palette generator →

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