#7C165D#7C165D

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

Color values

HEX#7C165D
RGBrgb(124, 22, 93)
HSLhsl(318, 70%, 29%)
HSVhsv(318, 82%, 49%)
CMYKcmyk(0%, 82.3%, 25%, 51.4%)
CIE-LABlab(28.51, 48.62, -16.08)
CIE-LCHlch(28.51, 51.21, 341.70°)
OKLaboklab(40.41% 0.147 -0.043)
OKLCHoklch(40.41% 0.153 343.7)
XYZxyz(10.5753, 5.6504, 10.8875)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C165D #167C35
analogous
#68167C #7C165D #7C162A
triadic
#7C165D #5D7C16 #165D7C
tetradic
#7C165D #7C6816 #167C35 #162A7C
square
#7C165D #7C6816 #167C35 #162A7C
split-complementary
#7C165D #2A7C16 #167C68
monochromatic
#1A0513 #480D36 #7C165D #B01F84 #DB32A7

Accessibility & contrast

On white

9.86
#7C165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C165D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C165D#FFFFFF#000000##FFFFFF
##7C165D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23395F
Deuteranopia (green-blind)
#43495B
Tritanopia (blue-blind)
#851638
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c165d;
/* rgb */ color: rgb(124, 22, 93);
/* oklch */ color: oklch(40.4% 0.153 343.7);
Tailwind
colors: {
  custom: {
    50: '#a6608b',
    500: '#7c165d',
    950: '#000000',
  },
}
SCSS
$custom: #7c165d;
$custom-light: #a6608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c165d",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 318.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4041,
    "c": 0.1532,
    "h": 343.7
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#7C165D
secondary
#3DB160
accent
#ED713B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C165D

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

Preview Lab → · Contrast checker → · Palette generator →

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