#7A165B#7A165B

#7A165B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.151 H 344.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7A165B
RGBrgb(122, 22, 91)
HSLhsl(319, 69%, 28%)
HSVhsv(319, 82%, 48%)
CMYKcmyk(0%, 82%, 25.4%, 52.2%)
CIE-LABlab(28.03, 47.84, -15.55)
CIE-LCHlch(28.03, 50.31, 341.99°)
OKLaboklab(39.96% 0.1448 -0.0415)
OKLCHoklch(39.96% 0.151 344)
XYZxyz(10.2017, 5.4678, 10.4136)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A165B #167A35
analogous
#67167A #7A165B #7A1629
triadic
#7A165B #5B7A16 #165B7A
tetradic
#7A165B #7A6716 #167A35 #16297A
square
#7A165B #7A6716 #167A35 #16297A
split-complementary
#7A165B #297A16 #167A67
monochromatic
#1A0513 #460D34 #7A165B #AE1F82 #DA31A5

Accessibility & contrast

On white

10.03
#7A165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A165B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A165B#FFFFFF#000000##FFFFFF
##7A165B1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385D
Deuteranopia (green-blind)
#424859
Tritanopia (blue-blind)
#821537
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a165b;
/* rgb */ color: rgb(122, 22, 91);
/* oklch */ color: oklch(40.0% 0.151 344.0);
Tailwind
colors: {
  custom: {
    50: '#a46089',
    500: '#7a165b',
    950: '#000000',
  },
}
SCSS
$custom: #7a165b;
$custom-light: #a46089;
$custom-dark: #000000;
JSON
{
  "hex": "#7a165b",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 318.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.15062,
    "h": 344
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#7A165B
secondary
#3DAF60
accent
#EC723C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A165B

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

Preview Lab → · Contrast checker → · Palette generator →

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