#7B165E#7B165E

#7B165E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.153 H 342.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7B165E
RGBrgb(123, 22, 94)
HSLhsl(317, 70%, 28%)
HSVhsv(317, 82%, 48%)
CMYKcmyk(0%, 82.1%, 23.6%, 51.8%)
CIE-LABlab(28.36, 48.50, -16.98)
CIE-LCHlch(28.36, 51.39, 340.70°)
OKLaboklab(40.28% 0.1463 -0.0456)
OKLCHoklch(40.28% 0.153 342.7)
XYZxyz(10.4761, 5.5941, 11.1156)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B165E #167B33
analogous
#65167B #7B165E #7B162B
triadic
#7B165E #5E7B16 #165E7B
tetradic
#7B165E #7B6516 #167B33 #162B7B
square
#7B165E #7B6516 #167B33 #162B7B
split-complementary
#7B165E #2B7B16 #167B65
monochromatic
#1A0514 #470D36 #7B165E #AF1F86 #DA31AA

Accessibility & contrast

On white

9.91
#7B165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B165E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B165E#FFFFFF#000000##FFFFFF
##7B165E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#831739
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b165e;
/* rgb */ color: rgb(123, 22, 94);
/* oklch */ color: oklch(40.3% 0.153 342.7);
Tailwind
colors: {
  custom: {
    50: '#a5608b',
    500: '#7b165e',
    950: '#000000',
  },
}
SCSS
$custom: #7b165e;
$custom-light: #a5608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b165e",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 317.228,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.15319,
    "h": 342.7
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#7B165E
secondary
#3DB05E
accent
#EC6E3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B165E

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

Preview Lab → · Contrast checker → · Palette generator →

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