#7C3166#7C3166

#7C3166 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.123 H 340.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7C3166
RGBrgb(124, 49, 102)
HSLhsl(318, 43%, 34%)
HSVhsv(318, 60%, 49%)
CMYKcmyk(0%, 60.5%, 17.7%, 51.4%)
CIE-LABlab(32.79, 39.18, -15.31)
CIE-LCHlch(32.79, 42.07, 338.65°)
OKLaboklab(43.67% 0.1161 -0.0411)
OKLCHoklch(43.67% 0.123 340.5)
XYZxyz(11.8090, 7.4420, 13.3823)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3166 #317C47
analogous
#6D317C #7C3166 #7C3141
triadic
#7C3166 #667C31 #31667C
tetradic
#7C3166 #7C6D31 #317C47 #31417C
square
#7C3166 #7C6D31 #317C47 #31417C
split-complementary
#7C3166 #417C31 #317C6D
monochromatic
#240E1E #502042 #7C3166 #A8428A #C265A7

Accessibility & contrast

On white

8.44
#7C3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7C3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C3166
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3166#FFFFFF#000000##FFFFFF
##7C31661.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354668
Deuteranopia (green-blind)
#4B5264
Tritanopia (blue-blind)
#833247
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c3166;
/* rgb */ color: rgb(124, 49, 102);
/* oklch */ color: oklch(43.7% 0.123 340.5);
Tailwind
colors: {
  custom: {
    50: '#a46d91',
    500: '#7c3166',
    950: '#000000',
  },
}
SCSS
$custom: #7c3166;
$custom-light: #a46d91;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3166",
  "rgb": {
    "r": 124,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 317.6,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43669,
    "c": 0.12318,
    "h": 340.5
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#7C3166
secondary
#5FAA75
accent
#D37A55
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#0F070D
muted
#7F7A7D

Preview Lab

Preview with #7C3166

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

Preview Lab → · Contrast checker → · Palette generator →

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