#7A165D#7A165D

#7A165D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.152 H 342.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7A165D
RGBrgb(122, 22, 93)
HSLhsl(317, 69%, 28%)
HSVhsv(317, 82%, 48%)
CMYKcmyk(0%, 82%, 23.8%, 52.2%)
CIE-LABlab(28.12, 48.12, -16.72)
CIE-LCHlch(28.12, 50.94, 340.84°)
OKLaboklab(40.06% 0.1451 -0.0448)
OKLCHoklch(40.06% 0.152 342.8)
XYZxyz(10.2891, 5.5028, 10.8741)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A165D #167A33
analogous
#65167A #7A165D #7A162B
triadic
#7A165D #5D7A16 #165D7A
tetradic
#7A165D #7A6516 #167A33 #162B7A
square
#7A165D #7A6516 #167A33 #162B7A
split-complementary
#7A165D #2B7A16 #167A65
monochromatic
#1A0514 #460D35 #7A165D #AE1F85 #DA31A9

Accessibility & contrast

On white

10.00
#7A165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A165D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A165D#FFFFFF#000000##FFFFFF
##7A165D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#41485B
Tritanopia (blue-blind)
#821738
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a165d;
/* rgb */ color: rgb(122, 22, 93);
/* oklch */ color: oklch(40.1% 0.152 342.8);
Tailwind
colors: {
  custom: {
    50: '#a4608b',
    500: '#7a165d',
    950: '#000000',
  },
}
SCSS
$custom: #7a165d;
$custom-light: #a4608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a165d",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 317.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40056,
    "c": 0.1519,
    "h": 342.8
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#7A165D
secondary
#3DAF5E
accent
#EC6F3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A165D

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

Preview Lab → · Contrast checker → · Palette generator →

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