#7C165E#7C165E

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

Color values

HEX#7C165E
RGBrgb(124, 22, 94)
HSLhsl(318, 70%, 29%)
HSVhsv(318, 82%, 49%)
CMYKcmyk(0%, 82.3%, 24.2%, 51.4%)
CIE-LABlab(28.56, 48.76, -16.67)
CIE-LCHlch(28.56, 51.53, 341.13°)
OKLaboklab(40.46% 0.1472 -0.0446)
OKLCHoklch(40.46% 0.154 343.1)
XYZxyz(10.6199, 5.6682, 11.1223)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C165E #167C34
analogous
#67167C #7C165E #7C162B
triadic
#7C165E #5E7C16 #165E7C
tetradic
#7C165E #7C6716 #167C34 #162B7C
square
#7C165E #7C6716 #167C34 #162B7C
split-complementary
#7C165E #2B7C16 #167C67
monochromatic
#1A0514 #480D37 #7C165E #B01F85 #DB32A9

Accessibility & contrast

On white

9.84
#7C165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C165E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C165E#FFFFFF#000000##FFFFFF
##7C165E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223960
Deuteranopia (green-blind)
#43495C
Tritanopia (blue-blind)
#841639
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c165e;
/* rgb */ color: rgb(124, 22, 94);
/* oklch */ color: oklch(40.5% 0.154 343.1);
Tailwind
colors: {
  custom: {
    50: '#a6618b',
    500: '#7c165e',
    950: '#000000',
  },
}
SCSS
$custom: #7c165e;
$custom-light: #a6618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c165e",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 317.647,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40459,
    "c": 0.15383,
    "h": 343.1
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#7C165E
secondary
#3DB15F
accent
#ED6F3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C165E

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

Preview Lab → · Contrast checker → · Palette generator →

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