#7B165F#7B165F

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

Color values

HEX#7B165F
RGBrgb(123, 22, 95)
HSLhsl(317, 70%, 28%)
HSVhsv(317, 82%, 48%)
CMYKcmyk(0%, 82.1%, 22.8%, 51.8%)
CIE-LABlab(28.41, 48.64, -17.56)
CIE-LCHlch(28.41, 51.72, 340.15°)
OKLaboklab(40.33% 0.1464 -0.0472)
OKLCHoklch(40.33% 0.154 342.1)
XYZxyz(10.5212, 5.6121, 11.3534)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B165F #167B32
analogous
#64167B #7B165F #7B162C
triadic
#7B165F #5F7B16 #165F7B
tetradic
#7B165F #7B6416 #167B32 #162C7B
square
#7B165F #7B6416 #167B32 #162C7B
split-complementary
#7B165F #2C7B16 #167B64
monochromatic
#1A0514 #470D37 #7B165F #AF1F87 #DA31AB

Accessibility & contrast

On white

9.90
#7B165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B165F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B165F#FFFFFF#000000##FFFFFF
##7B165F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#41495D
Tritanopia (blue-blind)
#831739
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b165f;
/* rgb */ color: rgb(123, 22, 95);
/* oklch */ color: oklch(40.3% 0.154 342.1);
Tailwind
colors: {
  custom: {
    50: '#a5608c',
    500: '#7b165f',
    950: '#000000',
  },
}
SCSS
$custom: #7b165f;
$custom-light: #a5608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b165f",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 316.634,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.15384,
    "h": 342.1
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#7B165F
secondary
#3DB05D
accent
#EC6C3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B165F

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

Preview Lab → · Contrast checker → · Palette generator →

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