#7D165C#7D165C

#7D165C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.153 H 344.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7D165C
RGBrgb(125, 22, 92)
HSLhsl(319, 70%, 29%)
HSVhsv(319, 82%, 49%)
CMYKcmyk(0%, 82.4%, 26.4%, 51%)
CIE-LABlab(28.66, 48.74, -15.18)
CIE-LCHlch(28.66, 51.05, 342.70°)
OKLaboklab(40.54% 0.1478 -0.0405)
OKLCHoklch(40.54% 0.153 344.7)
XYZxyz(10.6766, 5.7077, 10.6626)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D165C #167D37
analogous
#6B167D #7D165C #7D1629
triadic
#7D165C #5C7D16 #165C7D
tetradic
#7D165C #7D6B16 #167D37 #16297D
square
#7D165C #7D6B16 #167D37 #16297D
split-complementary
#7D165C #297D16 #167D6B
monochromatic
#1A0513 #490D36 #7D165C #B11F82 #DB32A5

Accessibility & contrast

On white

9.81
#7D165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D165C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D165C#FFFFFF#000000##FFFFFF
##7D165C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395E
Deuteranopia (green-blind)
#444A5A
Tritanopia (blue-blind)
#861438
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d165c;
/* rgb */ color: rgb(125, 22, 92);
/* oklch */ color: oklch(40.5% 0.153 344.7);
Tailwind
colors: {
  custom: {
    50: '#a7618a',
    500: '#7d165c',
    950: '#000000',
  },
}
SCSS
$custom: #7d165c;
$custom-light: #a7618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d165c",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 319.223,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4054,
    "c": 0.15324,
    "h": 344.7
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#7D165C
secondary
#3DB262
accent
#ED743B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D165C

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

Preview Lab → · Contrast checker → · Palette generator →

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