#7A1F68#7A1F68

#7A1F68 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.149 H 337.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7A1F68
RGBrgb(122, 31, 104)
HSLhsl(312, 59%, 30%)
HSVhsv(312, 75%, 48%)
CMYKcmyk(0%, 74.6%, 14.8%, 52.2%)
CIE-LABlab(29.71, 46.75, -21.40)
CIE-LCHlch(29.71, 51.42, 335.41°)
OKLaboklab(41.38% 0.1377 -0.0582)
OKLCHoklch(41.38% 0.149 337.1)
XYZxyz(11.0149, 6.1180, 13.6948)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F68 #1F7A31
analogous
#5E1F7A #7A1F68 #7A1F3B
triadic
#7A1F68 #687A1F #1F687A
tetradic
#7A1F68 #7A5E1F #1F7A31 #1F3B7A
square
#7A1F68 #7A5E1F #1F7A31 #1F3B7A
split-complementary
#7A1F68 #3B7A1F #1F7A5E
monochromatic
#180615 #49133E #7A1F68 #AB2B92 #CF44B4

Accessibility & contrast

On white

9.44
#7A1F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A1F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F68
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F68#FFFFFF#000000##FFFFFF
##7A1F681.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#812441
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1f68;
/* rgb */ color: rgb(122, 31, 104);
/* oklch */ color: oklch(41.4% 0.149 337.1);
Tailwind
colors: {
  custom: {
    50: '#a46493',
    500: '#7a1f68',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f68;
$custom-light: #a46493;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f68",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 311.868,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.14947,
    "h": 337.1
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#7A1F68
secondary
#47AD5C
accent
#E36445
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A1F68

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

Preview Lab → · Contrast checker → · Palette generator →

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