#7C165A#7C165A

#7C165A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.151 H 345.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7C165A
RGBrgb(124, 22, 90)
HSLhsl(320, 70%, 29%)
HSVhsv(320, 82%, 49%)
CMYKcmyk(0%, 82.3%, 27.4%, 51.4%)
CIE-LABlab(28.38, 48.22, -14.33)
CIE-LCHlch(28.38, 50.30, 343.45°)
OKLaboklab(40.27% 0.1465 -0.0381)
OKLCHoklch(40.27% 0.151 345.4)
XYZxyz(10.4450, 5.5983, 10.2014)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C165A #167C38
analogous
#6B167C #7C165A #7C1627
triadic
#7C165A #5A7C16 #165A7C
tetradic
#7C165A #7C6B16 #167C38 #16277C
square
#7C165A #7C6B16 #167C38 #16277C
split-complementary
#7C165A #277C16 #167C6B
monochromatic
#1A0513 #480D34 #7C165A #B01F80 #DB32A2

Accessibility & contrast

On white

9.91
#7C165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C165A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C165A#FFFFFF#000000##FFFFFF
##7C165A1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#851437
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c165a;
/* rgb */ color: rgb(124, 22, 90);
/* oklch */ color: oklch(40.3% 0.151 345.4);
Tailwind
colors: {
  custom: {
    50: '#a66088',
    500: '#7c165a',
    950: '#000000',
  },
}
SCSS
$custom: #7c165a;
$custom-light: #a66088;
$custom-dark: #000000;
JSON
{
  "hex": "#7c165a",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 320,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.15134,
    "h": 345.4
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#7C165A
secondary
#3DB164
accent
#ED763B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C165A

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

Preview Lab → · Contrast checker → · Palette generator →

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