#7A165F#7A165F

#7A165F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.2% C 0.153 H 341.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7A165F
RGBrgb(122, 22, 95)
HSLhsl(316, 69%, 28%)
HSVhsv(316, 82%, 48%)
CMYKcmyk(0%, 82%, 22.1%, 52.2%)
CIE-LABlab(28.22, 48.39, -17.88)
CIE-LCHlch(28.22, 51.59, 339.72°)
OKLaboklab(40.16% 0.1455 -0.0481)
OKLCHoklch(40.16% 0.153 341.7)
XYZxyz(10.3789, 5.5387, 11.3467)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A165F #167A31
analogous
#63167A #7A165F #7A162D
triadic
#7A165F #5F7A16 #165F7A
tetradic
#7A165F #7A6316 #167A31 #162D7A
square
#7A165F #7A6316 #167A31 #162D7A
split-complementary
#7A165F #2D7A16 #167A63
monochromatic
#1A0514 #460D37 #7A165F #AE1F87 #DA31AC

Accessibility & contrast

On white

9.96
#7A165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A165F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A165F#FFFFFF#000000##FFFFFF
##7A165F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#41485D
Tritanopia (blue-blind)
#821839
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a165f;
/* rgb */ color: rgb(122, 22, 95);
/* oklch */ color: oklch(40.2% 0.153 341.7);
Tailwind
colors: {
  custom: {
    50: '#a4608c',
    500: '#7a165f',
    950: '#000000',
  },
}
SCSS
$custom: #7a165f;
$custom-light: #a4608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a165f",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 316.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40156,
    "c": 0.1532,
    "h": 341.7
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#7A165F
secondary
#3DAF5C
accent
#EC6B3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A165F

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

Preview Lab → · Contrast checker → · Palette generator →

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