#7C165F#7C165F

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

Color values

HEX#7C165F
RGBrgb(124, 22, 95)
HSLhsl(317, 70%, 29%)
HSVhsv(317, 82%, 49%)
CMYKcmyk(0%, 82.3%, 23.4%, 51.4%)
CIE-LABlab(28.61, 48.89, -17.25)
CIE-LCHlch(28.61, 51.85, 340.57°)
OKLaboklab(40.51% 0.1474 -0.0463)
OKLCHoklch(40.51% 0.154 342.6)
XYZxyz(10.6651, 5.6863, 11.3602)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C165F #167C33
analogous
#66167C #7C165F #7C162C
triadic
#7C165F #5F7C16 #165F7C
tetradic
#7C165F #7C6616 #167C33 #162C7C
square
#7C165F #7C6616 #167C33 #162C7C
split-complementary
#7C165F #2C7C16 #167C66
monochromatic
#1A0514 #480D37 #7C165F #B01F87 #DB32AB

Accessibility & contrast

On white

9.83
#7C165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C165F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C165F#FFFFFF#000000##FFFFFF
##7C165F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#42495D
Tritanopia (blue-blind)
#841739
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c165f;
/* rgb */ color: rgb(124, 22, 95);
/* oklch */ color: oklch(40.5% 0.154 342.6);
Tailwind
colors: {
  custom: {
    50: '#a6618c',
    500: '#7c165f',
    950: '#000000',
  },
}
SCSS
$custom: #7c165f;
$custom-light: #a6618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c165f",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 317.059,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.15448,
    "h": 342.6
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#7C165F
secondary
#3DB15E
accent
#ED6E3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C165F

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

Preview Lab → · Contrast checker → · Palette generator →

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