#7A1767#7A1767

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

Color values

HEX#7A1767
RGBrgb(122, 23, 103)
HSLhsl(312, 68%, 28%)
HSVhsv(312, 81%, 48%)
CMYKcmyk(0%, 81.1%, 15.6%, 52.2%)
CIE-LABlab(28.72, 49.26, -22.29)
CIE-LCHlch(28.72, 54.07, 335.65°)
OKLaboklab(40.65% 0.1456 -0.0607)
OKLCHoklch(40.65% 0.158 337.4)
XYZxyz(10.7808, 5.7307, 13.3677)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1767 #177A2A
analogous
#5B177A #7A1767 #7A1735
triadic
#7A1767 #677A17 #17677A
tetradic
#7A1767 #7A5B17 #177A2A #17357A
square
#7A1767 #7A5B17 #177A2A #17357A
split-complementary
#7A1767 #357A17 #177A5B
monochromatic
#1A0516 #470D3C #7A1767 #AD2192 #D933B9

Accessibility & contrast

On white

9.79
#7A1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1767
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1767#FFFFFF#000000##FFFFFF
##7A17671.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A69
Deuteranopia (green-blind)
#3E4965
Tritanopia (blue-blind)
#811E3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1767;
/* rgb */ color: rgb(122, 23, 103);
/* oklch */ color: oklch(40.7% 0.158 337.4);
Tailwind
colors: {
  custom: {
    50: '#a46192',
    500: '#7a1767',
    950: '#000000',
  },
}
SCSS
$custom: #7a1767;
$custom-light: #a46192;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1767",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 311.515,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40651,
    "c": 0.15769,
    "h": 337.4
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#7A1767
secondary
#3EAF54
accent
#EB5E3D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A1767

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

Preview Lab → · Contrast checker → · Palette generator →

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