#7D165A#7D165A

#7D165A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.152 H 345.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7D165A
RGBrgb(125, 22, 90)
HSLhsl(320, 70%, 29%)
HSVhsv(320, 82%, 49%)
CMYKcmyk(0%, 82.4%, 28%, 51%)
CIE-LABlab(28.57, 48.48, -14.01)
CIE-LCHlch(28.57, 50.46, 343.88°)
OKLaboklab(40.45% 0.1474 -0.0372)
OKLCHoklch(40.45% 0.152 345.8)
XYZxyz(10.5903, 5.6732, 10.2082)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D165A #167D39
analogous
#6D167D #7D165A #7D1627
triadic
#7D165A #5A7D16 #165A7D
tetradic
#7D165A #7D6D16 #167D39 #16277D
square
#7D165A #7D6D16 #167D39 #16277D
split-complementary
#7D165A #277D16 #167D6D
monochromatic
#1A0513 #490D35 #7D165A #B11F7F #DB32A2

Accessibility & contrast

On white

9.84
#7D165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D165A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D165A#FFFFFF#000000##FFFFFF
##7D165A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#454A58
Tritanopia (blue-blind)
#861337
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d165a;
/* rgb */ color: rgb(125, 22, 90);
/* oklch */ color: oklch(40.4% 0.152 345.8);
Tailwind
colors: {
  custom: {
    50: '#a76188',
    500: '#7d165a',
    950: '#000000',
  },
}
SCSS
$custom: #7d165a;
$custom-light: #a76188;
$custom-dark: #000000;
JSON
{
  "hex": "#7d165a",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 320.388,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.15203,
    "h": 345.8
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#7D165A
secondary
#3DB265
accent
#ED773B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D165A

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

Preview Lab → · Contrast checker → · Palette generator →

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