#7A1968#7A1968

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

Color values

HEX#7A1968
RGBrgb(122, 25, 104)
HSLhsl(311, 66%, 29%)
HSVhsv(311, 80%, 48%)
CMYKcmyk(0%, 79.5%, 14.8%, 52.2%)
CIE-LABlab(28.99, 48.80, -22.53)
CIE-LCHlch(28.99, 53.75, 335.22°)
OKLaboklab(40.86% 0.1438 -0.0613)
OKLCHoklch(40.86% 0.156 336.9)
XYZxyz(10.8726, 5.8333, 13.6474)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1968 #197A2B
analogous
#5C197A #7A1968 #7A1938
triadic
#7A1968 #687A19 #19687A
tetradic
#7A1968 #7A5C19 #197A2B #19387A
square
#7A1968 #7A5C19 #197A2B #19387A
split-complementary
#7A1968 #387A19 #197A5C
monochromatic
#190516 #470F3D #7A1968 #AD2393 #D637B9

Accessibility & contrast

On white

9.69
#7A1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7A1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1968
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1968#FFFFFF#000000##FFFFFF
##7A19681.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1968;
/* rgb */ color: rgb(122, 25, 104);
/* oklch */ color: oklch(40.9% 0.156 336.9);
Tailwind
colors: {
  custom: {
    50: '#a46293',
    500: '#7a1968',
    950: '#000000',
  },
}
SCSS
$custom: #7a1968;
$custom-light: #a46293;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1968",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 311.134,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.15635,
    "h": 336.9
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#7A1968
secondary
#40AF55
accent
#E95E3F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A1968

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

Preview Lab → · Contrast checker → · Palette generator →

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