#7A165E#7A165E

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

Color values

HEX#7A165E
RGBrgb(122, 22, 94)
HSLhsl(317, 69%, 28%)
HSVhsv(317, 82%, 48%)
CMYKcmyk(0%, 82%, 23%, 52.2%)
CIE-LABlab(28.17, 48.25, -17.30)
CIE-LCHlch(28.17, 51.26, 340.28°)
OKLaboklab(40.11% 0.1453 -0.0465)
OKLCHoklch(40.11% 0.153 342.3)
XYZxyz(10.3337, 5.5206, 11.1089)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A165E #167A32
analogous
#64167A #7A165E #7A162C
triadic
#7A165E #5E7A16 #165E7A
tetradic
#7A165E #7A6416 #167A32 #162C7A
square
#7A165E #7A6416 #167A32 #162C7A
split-complementary
#7A165E #2C7A16 #167A64
monochromatic
#1A0514 #460D36 #7A165E #AE1F86 #DA31AA

Accessibility & contrast

On white

9.98
#7A165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A165E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A165E#FFFFFF#000000##FFFFFF
##7A165E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#41485C
Tritanopia (blue-blind)
#821739
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a165e;
/* rgb */ color: rgb(122, 22, 94);
/* oklch */ color: oklch(40.1% 0.153 342.3);
Tailwind
colors: {
  custom: {
    50: '#a4608c',
    500: '#7a165e',
    950: '#000000',
  },
}
SCSS
$custom: #7a165e;
$custom-light: #a4608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a165e",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 316.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.15255,
    "h": 342.3
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#7A165E
secondary
#3DAF5D
accent
#EC6D3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A165E

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

Preview Lab → · Contrast checker → · Palette generator →

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