#7C165B#7C165B

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

Color values

HEX#7C165B
RGBrgb(124, 22, 91)
HSLhsl(319, 70%, 29%)
HSVhsv(319, 82%, 49%)
CMYKcmyk(0%, 82.3%, 26.6%, 51.4%)
CIE-LABlab(28.42, 48.35, -14.91)
CIE-LCHlch(28.42, 50.60, 342.86°)
OKLaboklab(40.31% 0.1467 -0.0397)
OKLCHoklch(40.31% 0.152 344.8)
XYZxyz(10.4879, 5.6154, 10.4271)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C165B #167C37
analogous
#6A167C #7C165B #7C1628
triadic
#7C165B #5B7C16 #165B7C
tetradic
#7C165B #7C6A16 #167C37 #16287C
square
#7C165B #7C6A16 #167C37 #16287C
split-complementary
#7C165B #287C16 #167C6A
monochromatic
#1A0513 #480D35 #7C165B #B01F81 #DB32A4

Accessibility & contrast

On white

9.89
#7C165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C165B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C165B#FFFFFF#000000##FFFFFF
##7C165B1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385D
Deuteranopia (green-blind)
#444959
Tritanopia (blue-blind)
#851437
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c165b;
/* rgb */ color: rgb(124, 22, 91);
/* oklch */ color: oklch(40.3% 0.152 344.8);
Tailwind
colors: {
  custom: {
    50: '#a66089',
    500: '#7c165b',
    950: '#000000',
  },
}
SCSS
$custom: #7c165b;
$custom-light: #a66089;
$custom-dark: #000000;
JSON
{
  "hex": "#7c165b",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 319.412,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.15196,
    "h": 344.8
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#7C165B
secondary
#3DB162
accent
#ED753B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C165B

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

Preview Lab → · Contrast checker → · Palette generator →

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