#7C165C#7C165C

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

Color values

HEX#7C165C
RGBrgb(124, 22, 92)
HSLhsl(319, 70%, 29%)
HSVhsv(319, 82%, 49%)
CMYKcmyk(0%, 82.3%, 25.8%, 51.4%)
CIE-LABlab(28.47, 48.49, -15.50)
CIE-LCHlch(28.47, 50.90, 342.27°)
OKLaboklab(40.36% 0.1469 -0.0414)
OKLCHoklch(40.36% 0.153 344.3)
XYZxyz(10.5313, 5.6328, 10.6558)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C165C #167C36
analogous
#69167C #7C165C #7C1629
triadic
#7C165C #5C7C16 #165C7C
tetradic
#7C165C #7C6916 #167C36 #16297C
square
#7C165C #7C6916 #167C36 #16297C
split-complementary
#7C165C #297C16 #167C69
monochromatic
#1A0513 #480D35 #7C165C #B01F83 #DB32A6

Accessibility & contrast

On white

9.88
#7C165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C165C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C165C#FFFFFF#000000##FFFFFF
##7C165C1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#851538
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c165c;
/* rgb */ color: rgb(124, 22, 92);
/* oklch */ color: oklch(40.4% 0.153 344.3);
Tailwind
colors: {
  custom: {
    50: '#a6608a',
    500: '#7c165c',
    950: '#000000',
  },
}
SCSS
$custom: #7c165c;
$custom-light: #a6608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c165c",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 318.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40362,
    "c": 0.15258,
    "h": 344.3
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#7C165C
secondary
#3DB161
accent
#ED733B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C165C

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

Preview Lab → · Contrast checker → · Palette generator →

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